I resolve this issue by moving maven {url "https://maven.google.com"}
before jcenter()
, like this:
repositories {
maven { url "https://maven.google.com" }
jcenter()
maven { url 'https://jitpack.io' }
}
This is because I find jcenter()
repository has deleted the directory of android.arch.core, so we have to get this file (android.arch.core:common-1.1.0.jar
) from "https://maven.google.com"