Android依赖包导入失败!!!!(google依赖包不翻墙导入失败)

已经被这个问题困扰很久了!!!!!!!
解决:使用阿里云镜像服务:
在最外层的build中进行配置

allprojects {
    repositories {
        mavenCentral()
        maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }//阿里云镜像服务
        
        maven { url "https://jitpack.io" }
        google()
        jcenter()
    }
}

图片:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_38287890/article/details/88530120