解决Android SDK Manager更新下载速度慢

1.在Host文件加上

203.208.46.146 www.google.com

74.125.113.121 developer.android.com

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com
74.125.31.190 dl-ssl.google.com
74.125.31.91 dl-ssl.google.com
74.125.31.93 dl-ssl.google.com
74.125.31.136 dl-ssl.google.com

2.打开android的SDK manager,点击Tool,选择“Option”,勾选上下面

Force Http://...sources to be fectched using http://..

信息来自:http://jingyan.baidu.com/article/b0b63dbfd0948c4a483070ea.html

情景:安卓错误Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml:在设置里面去掉使用https的选项

上一篇:解决Android SDK Manager更新时出现问题


下一篇:移动端布局最佳实践(viewport+rem)