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

Error:Failed to resolve: com.android.support:appcompat-v7:27.+

install fail就在project的gradle裡面加入如下內容:

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


這塊是install的通用配置,以後還會進行補充