最近SDK出問題了,然後在google下載了一個android-sdk-windows.rar,然後點擊SDK Manager,結果一直不能重新整理API Level,然後就開始在網上找了好多資料,解決這個問題,修改 HOSTS, HTTP 和 HTTPS 都不能解決,這給我帶來了很大的困惑! 載入不出來的介面錯誤為:
Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml<br />Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused<br />Fetched Add-ons List successfully<br />Fetching URL: <a href="http://dl-ssl.google.com/android/repository/repository-6.xmlFailed">http://dl-ssl.google.com/android/repository/repository-6.xml<br />Failed</a> to fetch URL <a href="http://dl-ssl.google.com/android/repository/repository-6.xml">http://dl-ssl.google.com/android/repository/repository-6.xml</a>, reason: Connection to http://dl-ssl.google.com refused<br />Done loading packages.<br />Fetching <a href="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a><br />Failed to fetch URL <a href="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>, reason: Connection to <a href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused<br />Fetched Add-ons List successfully<br />Fetching URL: <a href="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a><br />Failed to fetch URL <a href="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>, reason: Connection to <a href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused<br />Done loading packages.
我就糾結了,一直串連失敗,難道是電信把google android屏蔽了,最近有一個想法,電信再怎麼屏蔽android 但是不會屏蔽google搜尋引擎的,如果電信把google搜尋引擎屏蔽了,那電信估計也倒閉了! 呵呵 我就做了一個選擇 ,使用http://www.google.com/做代理,詳細看:
然後點擊了一個package下的 reload 重新載入,呵呵 結果API level 全部出來了,真的很爽歪歪 ,呵呵 分享給大家,希望給大家有協助~