buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
将Project的build.gradle文件中的google()挪到jcenter()上面一行就可以了
android Failed to resolve: common
最新推荐文章于 2024-08-28 20:20:19 发布