Android SDK Manager 更新代理配置

转自:http://www.cnblogs.com/tao560532/p/4483067.html

出现问题:

消除SDK更新时,有可能会出现这样的错误:
Download interrupted: hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com>
Download interrupted: Connection to https://dl-ssl.google.com refused
Done. Nothing was installed.
解决办法:
  1. 启动 Android SDK Manager ,打开主界面,依次选择「Tools」「Options...」,弹出『Android SDK Manager - Settings』窗口;

  2. 『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入 mirrors.neusoft.edu.cn 和 80,并且选中「Force https://... sources to be fetched using http://...」复选框。设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;

  3. 依次选择「Packages」「Reload」

Android SDK Manager 更新代理配置

Android SDK Manager 更新代理配置

上一篇:Android SDK Manager 更新代理配置 ,蛋碎了


下一篇:read函数返回值始终为1