天天看点

Android SDK Manager 更新慢解决办法

1、如果是windows7,那么"开始-->所有程序-->android sdk tools-->右键sdk manager-->以管理员身份运行(a)"

2、在sdk manager窗口中,tools-->options...-->打开settings

          1) 在misc下选中force https://...sources to be fetched using http://...(原来默认使用https,现在强制使用http)

3、打开hosts文件:windows在c:\windows\system32\drivers\etc目录下,linux用户打开/etc/hosts文件

在文件末尾默认添加星号行内代码:

****************************************

#google主页

203.208.46.146 www.google.com

#这行是为了方便打开android开发官网 现在好像不vpn也可以打开

74.125.113.121 developer.android.com

#更新的内容从以下地址下载

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com