Android项目下载慢jcenter.bintray.com

解决办法

修改项目根目录下的build.gradle

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' }
    }

}

 

 

转自:https://blog.csdn.net/guanguanboy/article/details/103808187

你可能感兴趣的:(Android)