Error:Could not find support-core-utils.jar (com.android.support:support-core-utils:27.1.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-core-utils/27.1.1/support-core-utils-27.1.1.jar
Please install the Android Support Repository from the Android SDK Manager.
Open Android SDK Manager
解决方法:
jcenter已经删掉了android.arch.core库,所以需要从 maven { url "https://maven.google.com" }中获取android.arch.core:common-1.1.0.jar
类似下面这种情况的,把顺序调整一下就就行了
原来:
allprojects {
repositories {
jcenter()
maven {url 'https://jitpack.io'}
maven {url "https://maven.google.com"}
}
}
改为:
allprojects {
repositories {
maven {url "https://maven.google.com"}
jcenter()
maven {url 'https://jitpack.io'}
}
}