I imported a project from another developer and I'm trying to get it
to build. I'm getting the following error:
The type java.lang.Enum cannot be resolved. It is indirectly
referenced from required .class files
>From this code:
public enum ChartType {
DEFAULT_READING_CHARTS, WATER_BALANCE_CHARTS
}
I believe this is because the project is set up with a java build path
that points to an old version of Java that doesn't support enums. How
can I specify the java build path in the project properties? I took a
look at the Build Path screen in the properties menu and it looks the
same as my other projects that use enums and build just fine.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en