Android Studio 报 Failed to resolve: support-core-utils 找不到依赖 错误解决

Google不支持通过SDK的更新来更新support库,需要通过maven仓库来下载支持库。

解决方法:

allprojects {
    repositories {
        maven { url 'https://dl.google.com/dl/android/maven2' }
        jcenter()
        maven { url "https://jitpack.io" }
        maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
        google()
    }
}
 

app: build.gradle

dependencies {implementation "com.android.support:support-core-utils:27.0.2"}

你可能感兴趣的:(core-utils,datading,丁鹏,android,移动开发,datading)