Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason:

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect
安装安卓模拟器的时候,出现了这个,说是切换http和https,都切换好多遍了,求解决,不知道和我win 7 64位系统有没有关系

按照如下步骤操作就可以了。我试了很久,终于找到这方法。
•用notepad打开C:WINDOWSsystem32driversetc中的hosts文件
•在最后一行添加74.125.237.1 dl-ssl.google.com
•成功解决问题。

ip地址也可能替换成74.125.128.190会快些
原文地址:https://www.cnblogs.com/shanmao/p/3418173.html