0

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.

Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556

1 Answers1

2

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.

Sasha O
  • 3,710
  • 2
  • 35
  • 45