按照如下配置切换阿里云maven仓库:
repositories {
// jcenter()
// maven {
// url 'https://maven.google.com/'
// name 'Google'
// }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
}
over !