Solution
Modify build.gradle in the project root directory
buildscript {
...
repositories {
jcenter()
maven { url 'https://jitpack.io' }
jcenter{ url "http://jcenter.bintray.com/"}
}
}
改为
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
jcenter { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
}
}
Transfer from: https://blog.csdn.net/guanguanboy/article/details/103808187