使用react native

init 成功后,運行 react-native run-android 或者 yarn android 報這個錯,是網路帆檣的原因還是什么呢。
uj5u.com熱心網友回復:
maven倉庫改成阿里云的鏡像:跟目錄的build.gradle的2個repositories都改成:
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://jitpack.io' }
google()
jcenter()
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/70993.html
標籤:Android
