`
Andy_Dou
  • 浏览: 229966 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论

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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics