陈大雷的博客

技术改变生活

目录
无法下载 https://jcenter.bintray.com/com/android/tools/build/gradle/x.x.x/gradle-x.x.x.pom
/    

无法下载 https://jcenter.bintray.com/com/android/tools/build/gradle/x.x.x/gradle-x.x.x.pom

提示:

Could not get resource ‘(https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom)‘.

解决方法如下:
找到build.grade文件中:

allprojects {
    repositories {
        jcenter()
        google()
    }
}

修改为:

allprojects {
    repositories {
        jcenter { url "http://jcenter.bintray.com/"}
        google()
    }
}
评论