故障描述】 打开SDK Manager检查Android SDK状况,出现以下情况: Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-7.xml, reason: HttpHostConnect Connection to https://dl-ssl.google.com refused
【解决方法】 选择Tools-Options,在弹出的设置窗口中,「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force https://...sources to be fetched using http://...」复选框,设置完成后单击「Close」按钮关闭,选择Packages-Reload重新检查即可。 |
|
来自: joy_chen > 《android_studio》