解决mac无法更新android sdk报Fetching

2570阅读 0评论2014-10-28 xu954217943
分类:Android平台

1、在mac系统下按command+shift+g组合键,然后在搜索框内输入/private/etc/hosts打开窗口找到hosts文件,并将它复制到桌面上

2、打开刚刚复制到桌面的上的hosts文件,在该文件中输入如下IP串

203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com


3、将桌面上的hosts文件复制到/private/etc/下替换原来的hosts文件即可
上一篇:centos5.7安装配置radius
下一篇: nginx实现负载均衡、状态检测