导入新项目时报错:
@H_403_8@@H_419_10@Error:Could not find com.androID.tools.build:gradle:3.3.0.Searched in the following locations: file:/F:/AndroID/AndroID Studio/gradle/m2repository/com/androID/tools/build/gradle/3.3.0/gradle-3.0.0.pom file:/F:/AndroID/AndroID Studio/gradle/m2repository/com/androID/tools/build/gradle/3.3.0/gradle-3.0.0.jar https://jcenter.bintray.com/com/androID/tools/build/gradle/3.3.0/gradle-3.0.0.pom https://jcenter.bintray.com/com/androID/tools/build/gradle/3.3.0/gradle-3.3.0.jarrequired by: project :
解决办法:
在repositorIEs{}内添加Google()
它会去更换为https://dl.google.com/ 下载
buildscript { repositorIEs { Google() jcenter() } dependencIEs { classpath ‘com.androID.tools.build:gradle:3.3.0‘ // NOTE: Do not place your application dependencIEs here; they belong // in the indivIDual module build.gradle files }}allprojects { repositorIEs { Google() mavenLocal() jcenter() maven { // All of React Native (Js,Obj-C sources,AndroID binarIEs) is installed from npm url "$rootDir/../node_modules/react-native/androID" } }}总结
以上是内存溢出为你收集整理的Could not find com.android.tools.build:gradle:3.3.0.全部内容,希望文章能够帮你解决Could not find com.android.tools.build:gradle:3.3.0.所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)