Download the project after the @override comment method will be error, if the @override removed will not error. It is found that: @override annotations can only be used to override the methods of the inherited parent class in the jdk1.5 environment , but not for the implementation of the methods in the implemented interface , that is, the jdk1.5 @ Override This annotation does not consider the interface to be super-class, that is, if you want to use @override in 1.5, this annotation must be guaranteed to be labeled based on class rather than interface. The specific cause is unknown, possibly the JDK 1.5 Bug, then I look at MyEclipse's JDK configuration is 5.0, reconfigure to 6.0 is good. Specific steps:
Select the project right-click "Properties"-------> "java complier", under "JDK Compliance " under "complier ComplianceLevel: Select "6.0" followed by "OK".
Android (Java) Learning note 148:eclipse code hints to remove @override, or Error!