AndroidStudio 编译过程中报错解决方案

AndroidStudio 编译过程中报错解决方案

1.Could not resolve all files for configuration ':app:debugCompileClasspath'
解决方案 Project级别build.gradle增加配置

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral ()
        maven {url 'https://dl.bintray.com/jetbrains/anko'} //这是你需要加入的,这个是解决这个问题的关键地方
        maven {url "https://maven.google.com"} //谷歌广告
    }
}

你可能感兴趣的:(AndroidStudio 编译过程中报错解决方案)