Android SDK Manager無法更新的解決

來源:互聯網
上載者:User

Eclipse輸出錯誤reason: Connection to https://dl-ssl.google.com refused
估計這又是偉大GFW的功勞,我們只需要配置一下hosts檔案,在檔案的末尾添加下面一句:
74.125.237.1 dl-ssl.google.com


windows系統中hosts檔案的位置為:C:\Windows\System32\drivers\etc ,找到該檔案並已文本形式開啟,添加上面一句話,儲存之後關閉,重啟Eclipse開啟Android SDK Manager,ok!

把如下的內容複寫儲存為hosts,然後替換掉 C:\Windows\System32\drivers\etc\目錄下的 hosts,就可以方便的使用google.com啦

 

203.208.46.1   plus.google.com 203.208.46.1   accounts.google.com 203.208.46.1   picasaweb.google.com 203.208.46.1   lh1.ggpht.com 203.208.46.1   lh2.ggpht.com 203.208.46.1   lh3.ggpht.com 203.208.46.1   lh4.ggpht.com 203.208.46.1   lh5.ggpht.com 203.208.46.1   lh6.ggpht.com 203.208.46.1   lh6.googleusercontent.com 203.208.46.1   lh5.googleusercontent.com 203.208.46.1   lh4.googleusercontent.com 203.208.46.1   lh3.googleusercontent.com 203.208.46.1   lh2.googleusercontent.com 203.208.46.1   lh1.googleusercontent.com 203.208.46.1   talkgadget.google.com 203.208.46.1   profiles.google.com 203.208.46.1   webcache.googleusercontent.com 203.208.46.1   sites.google.com 203.208.46.1   mail.google.com 203.208.46.1   www.google.com.hk 203.208.46.1   www.google.com 203.208.46.1   news.google.com 203.208.46.1   code.google.com 203.208.46.1   docs.google.com 203.208.46.1   services.google.com 203.208.46.1   clients4.google.com 203.208.46.1   clients2.google.com 203.208.46.1   chrome.google.com 203.208.46.1   tools.google.com 203.208.46.1   sites.google.com 203.208.46.1   accounts.google.com 209.85.229.18  reader.google.com-------------------------------------------------------- #Google+ Hosts IP 74.125.237.1 plus.google.com 74.125.237.1 plus.google.com.hk 74.125.237.1 talkgadget.google.com 74.125.237.1 picasaweb.google.com 74.125.237.1 lh1.ggpht.com 74.125.237.1 lh2.ggpht.com 74.125.237.1 lh3.ggpht.com 74.125.237.1 lh4.ggpht.com 74.125.237.1 lh5.ggpht.com 74.125.237.1 lh6.ggpht.com 74.125.237.1 lh6.googleusercontent.com 74.125.237.1 lh5.googleusercontent.com 74.125.237.1 lh4.googleusercontent.com 74.125.237.1 lh3.googleusercontent.com 74.125.237.1 lh2.googleusercontent.com 74.125.237.1 lh1.googleusercontent.com ##Chrome 網上應用店 74.125.237.1 chrome.google.com 74.125.237.1 clients0.google.com 74.125.237.1 clients1.google.com 74.125.237.1 clients2.google.com 74.125.237.1 clients3.google.com 74.125.237.1 clients4.google.com 74.125.237.1 www.googleusercontent.com 74.125.237.1 lh0.googleusercontent.com 74.125.237.1 lh1.googleusercontent.com 74.125.237.1 lh2.googleusercontent.com 74.125.237.1 lh3.googleusercontent.com 74.125.237.1 lh4.googleusercontent.com 74.125.237.1 lh5.googleusercontent.com 74.125.237.1 lh6.googleusercontent.com 74.125.237.1 clients1.googleusercontent.com 74.125.237.1 clients2.googleusercontent.com ##網頁快照 68.68.107.69 webcache.googleusercontent.com ##Google SSL 74.125.237.1 encrypted.google.com 74.125.237.1 encrypted.google.com.hk ##Google Docs 74.125.237.1 docs.google.com 74.125.237.1 docs0.google.com 74.125.237.1 docs1.google.com 74.125.237.1 docs2.google.com 74.125.237.1 docs3.google.com 74.125.237.1 spreadsheets.google.com 74.125.237.1 spreadsheets0.google.com 74.125.237.1 spreadsheets1.google.com 74.125.237.1 spreadsheets2.google.com 74.125.237.1 spreadsheets3.google.com #Gmail 74.125.237.1 mail.google.com 74.125.237.1 chatenabled.mail.google.com        #Gmail中Gtalk聊天服務 ##Google 搜尋 74.125.237.1 www.google.com ##Google preview 74.125.237.1 www.googlepreview.com ##Google 翻譯 74.125.237.1 translate.google.com 74.125.237.1 translate.googleapis.com ##Google 搜尋建議(IE9) 74.125.237.1 clients5.google.com ##Google code 74.125.237.1 code.google.com ##Picasa 網路相簿 74.125.237.1 picasaweb.google.com 74.125.237.1 lh0.ggpht.com 74.125.237.1 lh1.ggpht.com 74.125.237.1 lh2.ggpht.com 74.125.237.1 lh3.ggpht.com 74.125.237.1 lh4.ggpht.com 74.125.237.1 lh5.ggpht.com 74.125.237.1 lh6.ggpht.com 74.125.237.1 lh7.ggpht.com 74.125.237.1 lh8.ggpht.com 74.125.237.1 lh8.ggpht.com 74.125.237.1 lh9.ggpht.com 74.125.237.1 lh6.google.com ##Google 設定檔 74.125.237.1 profiles.google.com 74.125.237.1 browsersync.google.com ##Google+ 74.125.237.1 talkgadget.google.com##Google+中的聊天服務 74.125.237.1 ssl.gstatic.com 74.125.237.1 images-pos-opensocial.googleusercontent.com 74.125.237.1 images1-focus-opensocial.googleusercontent.com 74.125.237.1 images2-focus-opensocial.googleusercontent.com 74.125.237.1 images3-focus-opensocial.googleusercontent.com 74.125.237.1 images4-focus-opensocial.googleusercontent.com 74.125.237.1 images5-focus-opensocial.googleusercontent.com 74.125.237.1 images6-focus-opensocial.googleusercontent.com 74.125.237.1 plus.google.com ##Download 下載 74.125.237.1 dl.google.com 74.125.237.1 dl-ssl.google.com ##Groups 74.125.237.1 groups.google.com ##Google URL Shortener 74.125.237.1 goo.gl ##Google app engine 74.125.237.1 appengine.google.com 

---------------------- 

把如下的內容複寫儲存為hosts,然後替換掉 C:\Windows\System32\drivers\etc\目錄下的 hosts,就可以方便的使用google.com啦

 

203.208.46.1   plus.google.com 203.208.46.1   accounts.google.com 203.208.46.1   picasaweb.google.com 203.208.46.1   lh1.ggpht.com 203.208.46.1   lh2.ggpht.com 203.208.46.1   lh3.ggpht.com 203.208.46.1   lh4.ggpht.com 203.208.46.1   lh5.ggpht.com 203.208.46.1   lh6.ggpht.com 203.208.46.1   lh6.googleusercontent.com 203.208.46.1   lh5.googleusercontent.com 203.208.46.1   lh4.googleusercontent.com 203.208.46.1   lh3.googleusercontent.com 203.208.46.1   lh2.googleusercontent.com 203.208.46.1   lh1.googleusercontent.com 203.208.46.1   talkgadget.google.com 203.208.46.1   profiles.google.com 203.208.46.1   webcache.googleusercontent.com 203.208.46.1   sites.google.com 203.208.46.1   mail.google.com 203.208.46.1   www.google.com.hk 203.208.46.1   www.google.com 203.208.46.1   news.google.com 203.208.46.1   code.google.com 203.208.46.1   docs.google.com 203.208.46.1   services.google.com 203.208.46.1   clients4.google.com 203.208.46.1   clients2.google.com 203.208.46.1   chrome.google.com 203.208.46.1   tools.google.com 203.208.46.1   sites.google.com 203.208.46.1   accounts.google.com 209.85.229.18  reader.google.com-------------------------------------------------------- #Google+ Hosts IP 74.125.237.1 plus.google.com 74.125.237.1 plus.google.com.hk 74.125.237.1 talkgadget.google.com 74.125.237.1 picasaweb.google.com 74.125.237.1 lh1.ggpht.com 74.125.237.1 lh2.ggpht.com 74.125.237.1 lh3.ggpht.com 74.125.237.1 lh4.ggpht.com 74.125.237.1 lh5.ggpht.com 74.125.237.1 lh6.ggpht.com 74.125.237.1 lh6.googleusercontent.com 74.125.237.1 lh5.googleusercontent.com 74.125.237.1 lh4.googleusercontent.com 74.125.237.1 lh3.googleusercontent.com 74.125.237.1 lh2.googleusercontent.com 74.125.237.1 lh1.googleusercontent.com ##Chrome 網上應用店 74.125.237.1 chrome.google.com 74.125.237.1 clients0.google.com 74.125.237.1 clients1.google.com 74.125.237.1 clients2.google.com 74.125.237.1 clients3.google.com 74.125.237.1 clients4.google.com 74.125.237.1 www.googleusercontent.com 74.125.237.1 lh0.googleusercontent.com 74.125.237.1 lh1.googleusercontent.com 74.125.237.1 lh2.googleusercontent.com 74.125.237.1 lh3.googleusercontent.com 74.125.237.1 lh4.googleusercontent.com 74.125.237.1 lh5.googleusercontent.com 74.125.237.1 lh6.googleusercontent.com 74.125.237.1 clients1.googleusercontent.com 74.125.237.1 clients2.googleusercontent.com ##網頁快照 68.68.107.69 webcache.googleusercontent.com ##Google SSL 74.125.237.1 encrypted.google.com 74.125.237.1 encrypted.google.com.hk ##Google Docs 74.125.237.1 docs.google.com 74.125.237.1 docs0.google.com 74.125.237.1 docs1.google.com 74.125.237.1 docs2.google.com 74.125.237.1 docs3.google.com 74.125.237.1 spreadsheets.google.com 74.125.237.1 spreadsheets0.google.com 74.125.237.1 spreadsheets1.google.com 74.125.237.1 spreadsheets2.google.com 74.125.237.1 spreadsheets3.google.com #Gmail 74.125.237.1 mail.google.com 74.125.237.1 chatenabled.mail.google.com        #Gmail中Gtalk聊天服務 ##Google 搜尋 74.125.237.1 www.google.com ##Google preview 74.125.237.1 www.googlepreview.com ##Google 翻譯 74.125.237.1 translate.google.com 74.125.237.1 translate.googleapis.com ##Google 搜尋建議(IE9) 74.125.237.1 clients5.google.com ##Google code 74.125.237.1 code.google.com ##Picasa 網路相簿 74.125.237.1 picasaweb.google.com 74.125.237.1 lh0.ggpht.com 74.125.237.1 lh1.ggpht.com 74.125.237.1 lh2.ggpht.com 74.125.237.1 lh3.ggpht.com 74.125.237.1 lh4.ggpht.com 74.125.237.1 lh5.ggpht.com 74.125.237.1 lh6.ggpht.com 74.125.237.1 lh7.ggpht.com 74.125.237.1 lh8.ggpht.com 74.125.237.1 lh8.ggpht.com 74.125.237.1 lh9.ggpht.com 74.125.237.1 lh6.google.com ##Google 設定檔 74.125.237.1 profiles.google.com 74.125.237.1 browsersync.google.com ##Google+ 74.125.237.1 talkgadget.google.com##Google+中的聊天服務 74.125.237.1 ssl.gstatic.com 74.125.237.1 images-pos-opensocial.googleusercontent.com 74.125.237.1 images1-focus-opensocial.googleusercontent.com 74.125.237.1 images2-focus-opensocial.googleusercontent.com 74.125.237.1 images3-focus-opensocial.googleusercontent.com 74.125.237.1 images4-focus-opensocial.googleusercontent.com 74.125.237.1 images5-focus-opensocial.googleusercontent.com 74.125.237.1 images6-focus-opensocial.googleusercontent.com 74.125.237.1 plus.google.com ##Download 下載 74.125.237.1 dl.google.com 74.125.237.1 dl-ssl.google.com ##Groups 74.125.237.1 groups.google.com ##Google URL Shortener 74.125.237.1 goo.gl ##Google app engine 74.125.237.1 appengine.google.com 

---------------------- 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.