Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request 报错, 原因以及解决方法

Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法

原因 :AS 自带的gradle 版本太低。 

第一步: 

下载对的 gredel 文件, 并且安装+环境变量。  具体方法见这个链接 :

https://blog.****.net/e_one/article/details/51046313


这里需要 备注的是, gragle 下载页面有很多版本和链接, 同一个版本后面有不同的命名区别。到底下载哪一个?

下载 带有aLL字样的 。  Why 有兴趣的可以自行百度下 。

Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request 报错, 原因以及解决方法



第二部 :

在AS上配置gradel路径 :

https://blog.****.net/e_one/article/details/51046313


如执行上面的步骤 问题就会得到解决。