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

在Project/build.gradle脚本 配置  maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}

buildscript {

repositories {

google()

maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}

jcenter()

}

}


allprojects {

repositories {

google()

maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}

        jcenter()

    }

}


注意必须在jcenter()方法之上

你可能感兴趣的:(解决Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle.)