异常
异常.png解决方法
在项目的根目录下,buildscript -> repositories 下添加 mavenCentral() , allprojects -> repositories 下添加 maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
buildscript {
repositories {
mavenCentral()
jcenter()
google()
}
}
allprojects {
repositories {
maven {
url "http://maven.aliyun.com/nexus/content/groups/public"
}
}
}
网友评论