当前位置: 代码迷 >> Android >> android SDK更新步骤总结
  详细解决方案

android SDK更新步骤总结

热度:70   发布时间:2016-04-28 06:26:54.0
android SDK更新方法总结

今天更新SDK的总结

发生错误:

 

Fetched Add-ons List successfully
Fetching URL:
https://dl-ssl.google.com/android/repository/repository-8.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: SSL hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com> OR <www.google.com>

 

如下:

 

解决办法:

1  首先更改 hosts 在hosts当中添加:      203.208.46.146 dl-ssl.google.com

这个ip  地址可以在网上多搜一搜 比较不知道什么时候就被切掉了

 

在电脑中的目录:

 

点击打开

 

 

2  修改sdk选项:

 

 

然后:

 

 

以上完成!

 

祝大家SDK 更新顺利 !

 

 

  相关解决方案