1. 程式人生 > >Failed to resolve: runtime

Failed to resolve: runtime

轉載至:https://blog.csdn.net/Timmy_zzh/article/details/80679240

我的專案中處理方式

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

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

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