Android studio sets proxy incorrectly, resulting in HTTP/1.1 400 Bad Request.

Android studio settings proxy

When everyone opens a new project, they often need to download components and plug-ins. If the following error message appears:

 

 

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
Failed to download any source lists! 

The reason is that the connection to the download source failed. Proxy returns "HTTP/1.1 400 Bad Request proxy failed.

Please set it as follows:

first step:

 Step two:

third step: 

Then OK or Apply to solve the problem. 

Guess you like

Origin blog.csdn.net/anfenggang/article/details/131090662