天天看點

sdk manager無法下載下傳問題解決(轉)

最近SDK出問題了,然後在google下載下傳了一個android-sdk-windows.rar,然後點選SDK Manager,結果一直不能重新整理API Level,然後就開始在網上找了好多資料,解決這個問題,修改 HOSTS,    HTTP  和  HTTPS  都不能解決,這給我帶來了很大的困惑!   加載不出來的界面錯誤為:

[html] view plain copy  

  1. Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml  
  2. Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://dl-ssl.google.com refused  
  3. Fetched Add-ons List successfully  
  4. Fetching URL: <atarget="_blank"href="http://dl-ssl.google.com/android/repository/repository-6.xmlFailed">http://dl-ssl.google.com/android/repository/repository-6.xml  
  5. Failed</a> to fetch URL <atarget="_blank"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  
  6. Done loading packages.  

[html] view plain copy  

  1. Fetching <atarget="_blank"href="http://dl-ssl.google.com/android/repository/addons_list-1.xml">https://dl-ssl.google.com/android/repository/addons_list-1.xml</a>
  2. Failed to fetch URL <atarget="_blank"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 <atarget="_blank"href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused  
  3. Fetched Add-ons List successfully  
  4. Fetching URL: <atarget="_blank"href="http://dl-ssl.google.com/android/repository/repository-6.xml">https://dl-ssl.google.com/android/repository/repository-6.xml</a>
  5. Failed to fetch URL <atarget="_blank"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 <atarget="_blank"href="http://dl-ssl.google.com">https://dl-ssl.google.com</a> refused  
  6. Done loading packages.  

我就糾結了,一直連接配接失敗,難道是電信把google android屏蔽了,最近有一個想法,電信再怎麼屏蔽android  但是不會屏蔽google搜尋引擎的,如果電信把google搜尋引擎屏蔽了,那電信估計也倒閉了! 呵呵  我就做了一個選擇  ,使用www.google.com做代理,詳細看截圖:

sdk manager無法下載下傳問題解決(轉)

然後點選了一個package下的  reload  重新加載