Andorid SDK安装更新

<p>1 打开SDK Manager下Tools-&gt;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

相关文章
相关标签/搜索