开发者

Problem importing GreenDroid

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  ActionBarI开发者_StackOverflow社区tem.java  /GreenDroid/GreenDroid/src/greendroid/widget    line 1  Java Problem

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜