刚使用Android studio编写程序时,往往会在运行的阶段遇到“ErrorUnable to tunnel through

 proxy. Proxy returns HTTP1.1 400 Bad Request”的问题。接下来,我就以图解的方式,详细

说明解决这个问题的步骤。


解决方案(按照图解的步骤进行):

进入Android studio设置

Android开发:解决ErrorUnable to tunnel through proxy. Proxy returns HTTP1.1 400 Bad Request


进入设置,双加gradle,点击图中红圈处,并选择gradle版本:

Android开发:解决ErrorUnable to tunnel through proxy. Proxy returns HTTP1.1 400 Bad Request

Android开发:解决ErrorUnable to tunnel through proxy. Proxy returns HTTP1.1 400 Bad Request


选择之后,一路OK退出即可。如果没有gradle可以到:

http://services.gradle.org/distributions去下载,解压,然后就可以按照这个方法选择了。


相关文章: