问题:
hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com> Fetching URL: https://dl-ssl.google.com/android/...
hostname in certificate didn't match: <dl-ssl.google.com> != <www.google.com> Fetching URL: https://dl-ssl.google.com/android/...
解决办法:
第一步:
打开Windows中C:\WINDOWS\system32\drivers\etc\hosts,Linux中/etc/hosts文件,然后添加以下内容:
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
203.208.46.146 groups.google.com
203.208.46.146 goo.gl
203.208.46.146 appengine.google.com
74.125.113.121 developer.android.com
第二步:
打开Android SDK Manager,选上方的菜单Tools,进入Options,在“Force https://… ”前面打钩,就可以更新了!
分享到: