Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/214.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Gradle Dependecies命令找不到其他maven repo_Android_Gradle_Dependencies_Gradlew - Fatal编程技术网

Android Gradle Dependecies命令找不到其他maven repo

Android Gradle Dependecies命令找不到其他maven repo,android,gradle,dependencies,gradlew,Android,Gradle,Dependencies,Gradlew,我想检查我的项目依赖关系,但在运行时遇到问题 ./gradlew应用程序:依赖项 这是终端的结果 谢谢你的帮助。我只需要将新的谷歌回购添加到根目录文件中 buildscript { repositories { ... // You need to add the following repository to download the // new plugin. google() } dependencies { classpath 'com.an

我想检查我的项目依赖关系,但在运行时遇到问题

./gradlew应用程序:依赖项

这是终端的结果


谢谢你的帮助。

我只需要将新的谷歌回购添加到根目录文件中

buildscript {
repositories {
    ...
    // You need to add the following repository to download the
    // new plugin.
    google()
}

dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0-alpha5'
}

请发布
build.gradle
文件的内容,最好是文本,而不是屏幕截图。您忘了将新存储库添加到build.gradle。请参阅@commonware谢谢您的建议,我尝试过,但在对齐方面遇到了困难。复制粘贴时,有时需要进行一些修复。