安卓同步jar包慢的问题

转载 https://blog.csdn.net/qq_37893505/article/details/89878653

大佬写的很好。

buildscript {
    repositories {
//        jcenter()
//        google()
        maven{
            url 'https://maven.aliyun.com/repository/jcenter'
        }
        maven{
            url 'https://maven.aliyun.com/repository/google'
        }
  }
  ...
}
allprojects {
    repositories {
//        jcenter()
//        google()
        maven{
            url 'https://maven.aliyun.com/repository/jcenter'
        }
        maven{
            url 'https://maven.aliyun.com/repository/google'
       }
    }
}

发表评论 / Comment

用心评论~