Android升级SDK后,Eclipse报错解决办法(2)——SDK18升级到SDK21

下载链接:传送门http://developer.android.com/sdk/installing/installing-adt.html

 

尝试使用Android升级SDK后,Eclipse报错解决办法去安装ADT21版本,发现之前方法不行了。

 

按照传送门提示,发现除了ADT下载,还需要许多Eclipse的bundle。如果使用扩展方式更新ADT,最好下个完整包,大概有400M。 传送门:http://developer.android.com/sdk/index.html

 

或者使用Eclipse的安装插件 Help > Install New Software

 

=============================================================

后来经过测试发现,下载SDK完整包是个包含ADT的ECLIPSE插件,我又不想下载,怎么办?

经过去年对OSGI的了解,知道ECLIPSE中的OSGI缓存配置,发现在configuration\org.eclipse.equinox.simpleconfigurator目录下的bundles.info文件中关于android的引用删除掉,ECLIPSE将重新加载插件。OK完美解决。省去更新所有ECLIPSE的插件。 

 

 

=============================================================

2013年5月22日

仔细看了下"Installing the Eclipse Plugin"中“Troubleshooting ADT Installation”的介绍说明。手工更新bundle的方法


  1. Download the ADT Plugin zip file (do not unpack it):
    Package Size MD5 Checksum
    ADT-22.0.0.zip 16797235 bytes cabd8a19390d6268be7065ca69b89e88
  2. Start Eclipse, then select Help > Install New Software.
  3. Click Add, in the top-right corner.
  4. In the Add Repository dialog, click Archive.
  5. Select the downloaded ADT-22.0.0.zip file and click OK.
  6. Enter "ADT Plugin" for the name and click OK.
  7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  9. Read and accept the license agreements, then click Finish.

    If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

  10. When the installation completes, restart Eclipse.

To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions.

注意更新过程中,说bunde未签名,是否继续。ok完成。

 

不好好研究英文真不行啊。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值