GreekOphion
GreekOphion

Reputation: 388

Unable to Set Up ActionBarSherlock Library

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.

Screenshot of Problems

Upvotes: 2

Views: 268

Answers (1)

CommonsWare
CommonsWare

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

Related Questions