系统的hosts 文件的底部 加上 203.208.41.97 maven.google.com
Module build.gradle里加上
buildscript {
repositories{
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/google' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
maven{ url'https://jitpack.io' }
mavenLocal()
mavenCentral()
}
}