Symptom:
... Java: 1801: method does not override a method from its superclass @ override...
Cause:
Eclipse is defaulting to Java 1.5 and you have classes implementing interface methods (which in Java 1.6 can be annotated with @ override, but in Java 1.5 can only be applied to Methods overriding a superclass method ).
That is to say, the Java 1.5 compiler overwrites the method of the parent class by default and uses @ override to describe it; but 1.6 has extended to the method of the interface; therefore, an error occurs if it is still compiled using the Java 1.5 compiler.
Solution:
Go to your project/ide preferences and set the Java compiler level to 1.6 and also make sure you select JRE 1.6 to execute your program from eclipse.
The Java compiler is of version 1.6 and the compilation level is 1.6. However, it is important to select the android library of build as 1.5 and generate the APK.ProgramYes, it can run on the 1.5 kernel.
Solution:
In eclipse, select window-> preferences-> JAVA-> compiler to select 1.6. If not, select onfigure project specific settings in compiler to set the compiler version to 1.6.