Android SDK无法更新问题

1、在SDK Manager下Tools->Options打开了SDK Manager的Settings,

选中“Force https://… sources to be fetched using http://…”,强制使用http协议。


2、修改host文件,添加下面两行
#google_android更新
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

 

windows: C:\WINDOWS\system32\drivers\etc\hosts

mac: /etc/hosts

猜你喜欢

转载自ideabean.iteye.com/blog/1919252
今日推荐