失败更新到ADT 23后找annotations.jar新到、ADT、annotations、jar

2023-09-12 09:07:11 作者:骑着蚂蚁追大象

所以,看到全新的Andr​​oid L是出来了,我说,我应该给它一个尝试。我安装从SDK工具,然后从更新新的ADT更新。 Eclipse的重新启动后,我拿到Android的依赖无法加载,因为\ Android的SDK \工具\ SUPPORT \ annotations.jar无法找到的错误。

So, seeing that the new Android L is out, I said I should give it a try. I installed the new ADT update from SDK tools and then from the updates. After Eclipse restart, I get the error that Android Dependencies failed to load because \android-sdk\tools\support\annotations.jar cannot be found.

我检查了文件夹,它没有文件。

I checked the folder and it does not have the file.

好了,我对自己说,也许是ADT更新不顺利让看到了新的Eclipse 4.4是出于我认为我可以做一个新的安装。所以下载的是Eclipse 4.4,安装了ADT工具和Android SDK中......,我也得到了同样的错误。

Well, I said to myself that maybe the ADT update didn't go well so seeing that the new eclipse 4.4 is out I thought I could do a fresh install. So downloaded eclipse 4.4, installed the ADT tools and android sdk... and I get the same error.

在如何解决这一问题的任何想法?

Any ideas on how to fix this ?

推荐答案

这是有人在谷歌的临时解决方案已经公布在问题跟踪:http://$c$c.google.com/p/android/issues/detail?id=72419#c12

A temporary solution from someone at google has been posted on the issue tracker: http://code.google.com/p/android/issues/detail?id=72419#c12

请等待一两天之内的更新版本。直到那时,   你的解决办法是做下载之一:

Please wait for an updated version within a day or two. Until then, your workaround is to do download one of:    http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz    http://dl.google.com/android/android-sdk_r22.6.2-windows.zip    http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip    http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz http://dl.google.com/android/android-sdk_r22.6.2-windows.zip http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip

和复制了以下文件:

   工具/ HPROF-CONV    工具/支持/ annotations.jar    工具/ ProGuard的    tools/hprof-conv tools/support/annotations.jar tools/proguard