下载链接:传送门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的方法
Download the ADT Plugin zip file (do not unpack it):Package Size MD5 Checksum ADT-22.0.0.zip 16797235 bytes cabd8a19390d6268be7065ca69b89e88 - Start Eclipse, then select Help > Install New Software.
- Click Add, in the top-right corner.
- In the Add Repository dialog, click Archive.
- Select the downloaded ADT-22.0.0.zip file and click OK.
- Enter "ADT Plugin" for the name and click OK.
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you'll see a list of the tools to be downloaded. Click Next.
- 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.
- 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完成。
不好好研究英文真不行啊。