Manual Proxy in Android Studio

Frequently used code samples and tutorials
vivekkalady
Site Admin
Posts: 35
Joined: Tue Nov 18, 2014 2:39 pm

Manual Proxy in Android Studio

Postby vivekkalady » Sun Dec 14, 2014 3:36 pm

If your android studio is stuck because you are behind a proxy,then you can setup manual proxy by this method.

Got you this location by pasting this in the addressbar of windows explorer

%HOMEPATH%\.AndroidStudio\config\options

The proxy is given in the other.xml file

Proxy.jpg


Modify the code according to your proxy values

Code: Select all

<option name="USE_HTTP_PROXY" value="false" />
    <option name="USE_PROXY_PAC" value="false" />
    <option name="PROXY_HOST" value="" />
    <option name="PROXY_PORT" value="80" />
    <option name="PROXY_AUTHENTICATION" value="false" />
    <option name="PROXY_LOGIN" value="" />


change value of USE_HTTP_PROXY to true
Add proxy host to value part of PROXY_HOST
Add proxy port to value part of PROXY_PORT
If authentication is required then PROXY_AUTHENTICATION make it true
and give login name PROXY_LOGIN

no need to give password.
close android studio if opened
the open android studio and it will ask for password so that you can enter it and save.

then you will be able to open android studio without any problem

Return to “Tutorials & Examples”

Who is online

Users browsing this forum: No registered users and 1 guest

cron