7.解决谷歌的SDK更新失败问题。

问题:

近期谷歌被墙之后,更新SDK老是失败。提示Download interrupted: Connection to https://dl-ssl.google.com refused(下载中断,连接被拒绝)。


解决方式:

打开SDK Manager->Tools->Options,选中“Force https://… sources to be fetched using http://…”,即强制使用http协议。


Windows在C:WINDOWSsystem32driversetc文件夹下,打开host文件后加入下面内容:
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com  

即将域名解析到能訪问谷歌sdk的ip上。

原文地址:https://www.cnblogs.com/blfbuaa/p/6743071.html