简体   繁体   English

将Android SDK设置在服务器代理后面?

[英]Set Android SDK behind server proxy?

如何在服务器代理后面下载android sdk包?

选择选项

编辑代理设置正确设置如下所示

you can see the proxy setting from IE if you are using windows for linux it is different 你可以从IE看到代理设置,如果你使用的是Linux的Linux它是不同的

On Linux or OSX create or edit the ~/.android/androidtool.cfg file. 在Linux或OSX上创建或编辑〜/ .android / androidtool.cfg文件。 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 添加完设置后,启动<sdk root>/tools/android sdk

The SDK manager will ask for your proxy userId / password. SDK管理器将询问您的代理userId /密码。

The SDK downloader does have proxy settings. SDK下载器确实有代理设置。 You can go to Tools > Options to find the settings with ubuntu. 您可以转到工具>选项以使用ubuntu查找设置。

If you start the SDK manager manually, rather than from Eclipse, there is a Settings menu which contains proxy options. 如果手动启动SDK管理器而不是Eclipse,则会出现一个包含代理选项的“设置”菜单。 See https://stackoverflow.com/a/2204065/385478 请参阅https://stackoverflow.com/a/2204065/385478

Installation of android SDK ( on windows 7 with proxy authetication ) 安装android SDK( 在Windows 7上使用代理验证

Steps: How to set proxy for android sdk manager? 步骤: 如何设置android sdk管理器的代理?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM