<p>1 打開SDK Manager下Tools->Options,選中「Force https://… sources to be fetched using http://…」,強制使用http協議。</p> <p><a href="http://static.oschina.net/uploads/img/201310/11194102_Poyy.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://static.oschina.net/uploads/img/201310/11194103_HtJf.jpg" width="374" height="311" /></a></p> <p><a href="http://static.oschina.net/uploads/img/201310/11194103_dv0g.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://static.oschina.net/uploads/img/201310/11194104_S3hl.png" width="378" height="336" /></a></p> <p>2 打開C:\Windows\System32\drivers\etc 修改裏面的host文件</p> <p><a href="http://static.oschina.net/uploads/img/201310/11194104_ubeL.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://static.oschina.net/uploads/img/201310/11194104_ljzv.jpg" width="378" height="144" /></a></p> <p>在裏面加上下面的語句</p> <p><a href="http://static.oschina.net/uploads/img/201310/11194105_npEY.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://static.oschina.net/uploads/img/201310/11194105_uYSv.jpg" width="380" height="289" /></a></p> <p>接着更新列表就出來了</p> <p><a href="http://static.oschina.net/uploads/img/201310/11194105_C3NJ.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://static.oschina.net/uploads/img/201310/11194106_qVsI.jpg" width="383" height="318" /></a></p> <p>3 更新ADT插件的時候則使用網址http://dl-ssl.google.com/android/eclipse,而不是https://dl-ssl.google.com/android/eclipse,這個在官方開發文檔裏也有介紹。</p> <p>4 下邊貼上使用Google各類服務在修改hosts文件時須要添加的內容。</p> <p>#Google主頁</p> <p>203.208.46.146 <a href="http://www.google.com">www.google.com</a></p> <p>#Google Service</p> <p>#Chrome 網上應用</p> <p>203.208.46.146 chrome.google.com</p> <p>203.208.46.146 clients0.google.com</p> <p>203.208.46.146 clients1.google.com</p> <p>203.208.46.146 clients2.google.com</p> <p>203.208.46.146 clients3.google.com</p> <p>203.208.46.146 clients4.google.com</p> <p>203.208.46.146 www.googleusercontent.com</p> <p>203.208.46.146 lh0.googleusercontent.com</p> <p>203.208.46.146 lh1.googleusercontent.com</p> <p>203.208.46.146 lh2.googleusercontent.com</p> <p>203.208.46.146 lh3.googleusercontent.com</p> <p>203.208.46.146 lh4.googleusercontent.com</p> <p>203.208.46.146 lh5.googleusercontent.com</p> <p>203.208.46.146 lh6.googleusercontent.com</p> <p>203.208.46.146 clients1.googleusercontent.com</p> <p>203.208.46.146 clients2.googleusercontent.com</p> <p>#網頁快照</p> <p>203.208.46.146 webcache.googleusercontent.com</p> <p>#Google SSL</p> <p>203.208.46.146 encrypted.google.com</p> <p>203.208.46.146 encrypted.google.com.hk</p> <p>#Google Docs</p> <p>203.208.46.146 docs.google.com</p> <p>203.208.46.146 docs0.google.com</p> <p>203.208.46.146 docs1.google.com</p> <p>203.208.46.146 docs2.google.com</p> <p>203.208.46.146 docs3.google.com</p> <p>203.208.46.146 spreadsheets.google.com</p> <p>203.208.46.146 spreadsheets0.google.com</p> <p>203.208.46.146 spreadsheets1.google.com</p> <p>203.208.46.146 spreadsheets2.google.com</p> <p>203.208.46.146 spreadsheets3.google.com</p> <p>#Gmail</p> <p>203.208.46.146 mail.google.com</p> <p>203.208.46.146 chatenabled.mail.google.com #Gmail中Gtalk聊天服務</p> <p>#Google 搜索</p> <p>203.208.46.146 www.google.com</p> <p>#Google preview</p> <p>203.208.46.146 www.googlepreview.com</p> <p>#Google 翻譯</p> <p>203.208.46.146 translate.google.com</p> <p>203.208.46.146 translate.googleapis.com</p> <p>#Google 搜索建議(IE9)</p> <p>203.208.46.146 clients5.google.com</p> <p>#Google Code</p> <p>203.208.46.146 code.google.com</p> <p>#Picasa 網絡相冊</p> <p>203.208.46.146 picasaweb.google.com</p> <p>203.208.46.146 lh0.ggpht.com</p> <p>203.208.46.146 lh1.ggpht.com</p> <p>203.208.46.146 lh2.ggpht.com</p> <p>203.208.46.146 lh3.ggpht.com</p> <p>203.208.46.146 lh4.ggpht.com</p> <p>203.208.46.146 lh5.ggpht.com</p> <p>203.208.46.146 lh6.ggpht.com</p> <p>203.208.46.146 lh7.ggpht.com</p> <p>203.208.46.146 lh8.ggpht.com</p> <p>203.208.46.146 lh8.ggpht.com</p> <p>203.208.46.146 lh9.ggpht.com</p> <p>203.208.46.146 lh6.google.com</p> <p>#Google 我的資料</p> <p>203.208.46.146 profiles.google.com</p> <p>203.208.46.146 browsersync.google.com</p> <p>#Google+</p> <p>203.208.46.146 talkgadget.google.com #Google+中的聊天服務</p> <p>203.208.46.146 ssl.gstatic.com</p> <p>203.208.46.146 images-pos-opensocial.googleusercontent.com</p> <p>203.208.46.146 images1-focus-opensocial.googleusercontent.com</p> <p>203.208.46.146 images2-focus-opensocial.googleusercontent.com</p> <p>203.208.46.146 images3-focus-opensocial.googleusercontent.com</p> <p>203.208.46.146 images4-focus-opensocial.googleusercontent.com</p> <p>203.208.46.146 images5-focus-opensocial.googleusercontent.com</p> <p>203.208.46.146 images6-focus-opensocial.googleusercontent.com</p> <p>203.208.46.146 plus.google.com</p> <p>#Download 下載</p> <p>203.208.46.146 dl.google.com</p> <p>203.208.46.146 dl-ssl.google.com</p> <p>#Groups</p> <p>203.208.46.146 groups.google.com</p> <p>#Google URL Shortener</p> <p>203.208.46.146 goo.gl</p> <p>#Google App Engine</p> <p>203.208.46.146 appengine.google.com</p> <p>#Android Developer</p> <p>74.125.113.121 developer.android.com</p>android