Gradle 依赖命令找不到其他 Maven 存储库
Gradle Dependecies Command cant find other maven repos
我想检查我的项目依赖关系,但在 运行
时遇到问题
./gradlew app:dependencies
这是终端的结果。
感谢您的帮助。
我只需要将新的 google 存储库添加到根 gradle 文件。
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'
}
我想检查我的项目依赖关系,但在 运行
时遇到问题./gradlew app:dependencies
这是终端的结果。
感谢您的帮助。
我只需要将新的 google 存储库添加到根 gradle 文件。
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'
}