1. 程式人生 > >新增v7:27.+依賴庫:Error:Failed to resolve: com.android.support:appcompat-v7:27.+

新增v7:27.+依賴庫:Error:Failed to resolve: com.android.support:appcompat-v7:27.+

參考stackoverflow,在最外層的project build.gradle中,修改如下:

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://maven.google.com"
        }
    }
}