Android Gradle Dependecies命令找不到其他maven repo
我想检查我的项目依赖关系,但在运行时遇到问题 ./gradlew应用程序:依赖项 这是终端的结果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
谢谢你的帮助。我只需要将新的谷歌回购添加到根目录文件中
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谢谢您的建议,我尝试过,但在对齐方面遇到了困难。复制粘贴时,有时需要进行一些修复。