当前位置: 首页 > 知识库问答 >
问题:

cordova gradle错误:找不到com.android.tools.build:gradle:3.0.1

洪河
2023-03-14

我用科尔多瓦构建时遇到了这个错误:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:3.0.1.
     Searched in the following locations:
         https://maven.google.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom
         https://maven.google.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.jar
         https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom
         https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.jar
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

我已经安装了Gradle5.3,这些是我的要求:

共有1个答案

尉迟招
2023-03-14

当我在公司防火墙后面工作时,我也有同样的问题。他们在中间做了男人,那些工地证明没有用原始签名签署。我们不得不把那些地址列在白名单上。希望这能有所帮助。

 类似资料: