Android Studio遇到Failed to resolve: common问题

记录问题:
引用自:https://blog.csdn.net/jahonn/article/details/80639576

将Project的build.gradle文件中的google()挪到jcenter()上面一行就可以了

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

你可能感兴趣的:(Android Studio遇到Failed to resolve: common问题)