Reputation: 388
I created a new android project from source and when I clicked finish I ended up having 204 errors and I believe each one is describing a problem with the methods.
Also, when I try to add it as a library it doesn't show up.
So what did I do wrong?
EDIT:
Thanks to CommonsWare I no longer get the errors but I am still unable to add the library.
Upvotes: 2
Views: 268
Reputation: 1007554
Your compiler compliance is probably set to Java 1.5. I strongly recommend switching to Java 1.6 in general, and you definitely need it for ActionBarSherlock. In Java 1.5, you could not @Override
a method defined on an interface -- in Java 1.6 you can.
For this individual project, go to Project > Properties > Java Compiler and adjust the "Compiler Compliance Level".
Upvotes: 5