Failed to resolve: com.android.support:multidex:1.0.2

Failed to resolve: com.android.support:multidex:1.0.2

在根目录下的build.gradle文件中的repositories{}和allprojects{}中添加google();

  repositories {
        jcenter()
        mavenCentral()
        google()
    }

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

猜你喜欢

转载自blog.csdn.net/niuba123456/article/details/81572316