ADT在线安装

以往安装ADT根本就不是个问题,可是现在就是个大问题了,联通的宽带网络连www.google.com.hk都打不开,你叫我们这些P民怎么活?
<span style="font-family: 微软雅黑; font-size: 15px; line-height: 24px;"><strong> https://dl-ssl.google.com/android/eclipse</strong></span>
<span style="font-family: 微软雅黑; font-size: 15px; line-height: 24px;"><strong></strong></span><pre id="best-answer-content" class="reply-text mb10" name="code" style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 10px; padding: 0px; font-family: Arial; zoom: 1;"><span style="font-family: 微软雅黑; font-size: 15px; line-height: 24px;"><strong> http://dl-ssl.google.com/android/eclipse</strong></span>
都无法正常访问,会提示 android ADT Unable to connect to repository http://dl-ssl.google.com/android/eclipse/content.xml 
 
<span style="font-family: 微软雅黑; font-size: 15px; line-height: 24px;"><strong><span style="font-family: arial; line-height: 18px; font-size: 12px;">刚开始,还以为是eclipse版本的问题适应不了新的ADT版本,试了几个版本之后发现根本不是。</span></strong></span>
<span style="font-family: Arial; line-height: 22px;">很明显,国内网络和谐掉了google这个服务器,可以强制指向下Hosts ,以下是添加内容:

74.125.237.1 dl-ssl.google.com 

具体操作方式:
目录:c:\windows\system32\drivers\etc下 找到hosts文件,其实是一个纯文本的文件,
1、用记事本打开
2、将:74.125.237.1 dl-ssl.google.com  添加至hosts文件最后一行
3、保存关闭Hosts,重新启动eclipse
4.</span><span style="font-family: verdana, Arial, helvetica, sans-seriff; color: rgb(75, 75, 75);"><span style="line-height: 19px;">  </span></span><span style="font-family: Arial;"><span style="line-height: 22px;">启动Eclipse,菜单点击进入Help -> Install New Software,在出现的窗口中点击Add按钮,然后在Name中输入你自定义的名称,Location中输入:</span></span><p style="font-family: Arial; line-height: 22px; margin: 5px auto; padding-left: 30px;"><a target=_blank href="https://dl-ssl.google.com/android/eclipse" style="color: rgb(111, 188, 76); text-decoration: initial;">http://dl-ssl.google.com/android/eclipse</a></p><span style="font-family: Arial;"><span style="line-height: 22px;">
在中国,在GWF的阻挠下,我们顽强的生存!</span></span>
<span style="font-family: Arial;"><span style="line-height: 22px;">
</span></span>
<span style="font-family: Arial;"><span style="line-height: 22px;">
</span></span>
<span style="font-family: Arial;"><span style="line-height: 22px;">觉得写得不错,帮忙打赏下,谢谢!<img src="https://img-blog.csdn.net/20150802225812572?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" />
</span></span>
</pre><pre id="best-answer-content" class="reply-text mb10" name="code" style="white-space: pre-wrap; word-wrap: break-word; color: rgb(51, 51, 51); font-size: 14px; line-height: 26px; background-color: rgb(255, 255, 255); margin-top: 0px; margin-bottom: 10px; padding: 0px; zoom: 1;">
觉得写得不错,帮忙打赏下,谢谢!<img src="https://img-blog.csdn.net/20150802230037902?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" />

                
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值