当update时连接dl.google.com超时,原因是当前ip无法ping到google(墙)。
需要更改ip:
- 网页上搜站长工具,在里面查找能ping到dl.google.com的IP。
- 将连接dl.google.com时的ip修改为搜索到的ip:
- Linux用户打开/etc/hosts文件。
sudo gedit /etc/hosts
- 打开文件后添加以下内容:
#Download 下载
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
#Groups
203.208.46.146 groups.google.com
#Google URL Shortener
203.208.46.146 goo.gl
#Google App Engine
203.208.46.146 appengine.google.com
#Android Developer
74.125.113.121 developer.android.com