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 ge
You have to Update your ADT to the Latest Version!
In Eclipse go to Help
Install New Software ---> Add
inside Add Repository write:
https://dl-ssl.google.com/android/eclipse/
Double click in the opening Box the 1 entry.
Follow the Eclipse instructions.
After loading some time you will get the newest Developer Tools and NDK Plugins
Repeat this for 2 times
Tom
Adding http://central.maven.org/maven2/com/google/android/annotations/4.1.1.4/annotations-4.1.1.4.jar as annotations.jar resolved my errors
Tomorrow I had the same problem after the update to ADT 23.
The problem is related to the annotations.
There are two libraries with annotations in the Android SDK:
android-sdk/extras/android/support/annotations/android-support-annotations.jar
this package contains:
and
android-sdk/tools/support/annotations.jar
that...with the new ADT update, for some reason disappeared.
This package contains the two annotations (probably the most used :-)):
Without them, if your code (or dependencies use them) Eclipse will complain.
To fix this problem, we need the previous annotation.jar
.
So I downloaded the file from the link suggested by @aarati:
http://central.maven.org/maven2/com/google/android/annotations/4.1.1.4/annotations-4.1.1.4.jar
Renamed it in annotation.jar
and moved to: android-sdk/tools/support/
Restarting Eclipse everything will be fine.