While trying to introduce enums in my Android project in Eclipse, I encountered with the following problem: Compiler says:
Open the properties for the project, select the page "Java Compiler" and set the "Compiler Compliance level" to "1.5" or better.