Could not find com.android.tools.build:gradle:3.3.0.

Could not find com.android.tools.build:gradle:3.3.0.,第1张

概述导入新项目时报错: 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

导入新项目时报错:

@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/ 下载

@H_403_8@
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.所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1129513.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存