After entering the project, all @ override reports the following error:
Multiple markers at this line
-The method getcount () of type new baseadapter () {} must override a superclass
Method
The result in Baidu is: The @ override error is often reported when the android project is imported into eclipse. This is because the Java compiler version is incorrect, by default, the Java 1.5 compiler overwrites the method of the parent class and uses @ override to describe it. However, 1.6 has been extended to the method of the interface; therefore, an error occurs if it is still compiled using the Java 1.5 compiler. In eclipse, select Window> preferences> JAVA> compiler and select 1.6. If not, select onfigure in compiler.
Project specific settings: Select 1.6 as the compiler version.
However, I have checked that my compiler version is 1.6, and I have not found the cause.