由于需要使用 Gradle 仓库中心的项目,下载速度又比较慢,网上查询了下,发现清一色的全是 oschina 的库,但是人家 2015年06月29日停止服务 了,于是想到了类似网易、新浪、阿里、腾讯等大佬的国内镜像,真找到了:
在 project-level
的 build.gradle
中修改如下:
allprojects {
repositories {
//jcenter()
//maven{ url 'http://maven.oschina.net/content/groups/public/'}
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
}
爽多了啊有木有
近期评论