一.这里简单的描述一下阿里云镜像仓库的使用,因为谷歌自带的库每次都要加载好久,阿里云的镜像仓库每天都会更新.
下面直接上代码,在项目根目录的build.gradle修改内容
buildscript {
repositories {
//阿里云镜像环境
maven{
url 'https://maven.aliyun.com/repository/spring-plugin'}
google()
jcenter()
}
dependencies {
classpath 'com.an