解决Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle.

添加中央仓库,和阿里云镜像服务,我这边是这样处理的,仓库顺序也很重要,有代理最好也挂下

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

你可能感兴趣的:(Android错误)