Problem importing GreenDroid

1.3k Views Asked by At

I'm trying to import and run the GreenDroid project: https://github.com/cyrilmottier/GreenDroid

But get the following error:

The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files  ActionBarItem.java  /GreenDroid/GreenDroid/src/greendroid/widget    line 1  Java Problem

Not sure how to resolve. IDE is saying it is a build path issue.

1

There are 1 best solutions below

2
On BEST ANSWER

In the IDE, is Java compiler set to Java 1.5 or above? Enums won't work if the compiler is set to 1.3.

In Eclipse, the setting is under Build Path/Java Compiler/JDK Compliance.