1. 程式人生 > >Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml問題解決

Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml問題解決

用eclipse下載ADT時,出現這個問題:

Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml.

方案1:搜尋了下Stackoverflow,發現是https的安全問題。把https換成http就好了。

方案2:開啟C:\WINDOWS\system32\drivers\etc中的hosts檔案,在最後一行新增:74.125.237.1 dl-ssl.google.com

方案3:直接官網http://developer.android.com/sdk/installing/installing-adt.html下載ADT壓縮包,不必解壓。在eclipse Help > Install New Software,點選Add,選擇Archive,選擇下載的壓縮包就可以了。