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?