今天一大早来,打开eclipse,莫名其妙的出现Warning: Ignoring platform 'android-4.2': build.prop is missing.
然后google一番,说是更新sdk就可以,果断更新sdk。
更新sdk的时候慢的实在是无法忍受,就想设置一下host,ping了一下g.cn
正在 Ping g.cn [203.208.49.179] 具有 32 字节的数据:
然后就在host文件中 加了这两句
203.208.49.179 dl.google.com
203.208.49.179 dl-ssl.google.com
打开sdk manager的时候加载的很快,但是更新的时候不知道为啥出现hostname in certificate didn't match: <dl-ssl.google.com>,唉,估计是被封了,然后就在sdk Manager中的Tools->Options...->Others选中“Force https://… sources to be fetched using http://…”
mark一下。