开发者

Problem importing GreenDroid

开发者 https://www.devze.com 2023-02-28 17:50 出处:网络
I\'m trying to import and run the GreenDroid project: https://github.com/cyrilmottier/GreenDroid But get the following error:

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

精彩评论

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