Set Android SDK behind server proxy?

2019-01-17 21:31发布

问题:

How can I download android sdk package behind a server proxy?

回答1:

you can see the proxy setting from IE if you are using windows for linux it is different



回答2:

On Linux or OSX create or edit the ~/.android/androidtool.cfg file. Add the following settings with your proxy server details:

http.proxyHost=127.0.0.1
http.proxyPort=8080

After you've added the settings start <sdk root>/tools/android sdk

The SDK manager will ask for your proxy userId / password.



回答3:

The SDK downloader does have proxy settings. You can go to Tools > Options to find the settings with ubuntu.



回答4:

If you start the SDK manager manually, rather than from Eclipse, there is a Settings menu which contains proxy options. See https://stackoverflow.com/a/2204065/385478



回答5:

Installation of android SDK (on windows 7 with proxy authetication)

Steps: How to set proxy for android sdk manager?



标签: android proxy