Android studio Gradle编译错误: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Reques

两种处理方法:

1.修改distributionUrl链接

gradle-wrapper.properties文件

 distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

改成

 distributionUrl=http\://services.gradle.org/distributions/gradle-3.3-all.zip

2.修改成use local gradle distribution

参考 http://www.2cto.com/kf/201608/541098.html

 

posted @ 2017-05-25 15:43  Zeroes  阅读(1564)  评论(0编辑  收藏  举报