这里不考虑使用阿里的镜像,都使用谷歌的。
查看你的grable版本是多少。
如果你的是4及4以上,则使用:
google()
jcenter()
否则使用
maven {
url 'https://maven.google.com'
}
jcenter()
!!!要注意,google.com一定要放在jcenter()的上面,jcenter一定要放在最后一行。
这里不考虑使用阿里的镜像,都使用谷歌的。
查看你的grable版本是多少。
如果你的是4及4以上,则使用:
google()
jcenter()
否则使用
maven {
url 'https://maven.google.com'
}
jcenter()
!!!要注意,google.com一定要放在jcenter()的上面,jcenter一定要放在最后一行。