@overide error after importing project in Eclipse
After entering the project, all the @override reported the following error:
Multiple markers at the
-The method GetCount () of type new Baseadapter () {} must override a superclass method
Recently imported Android project in Eclipse, will report @override error, so all the @overide to delete, and later as the import of the project increased, manual removal is troublesome, So check the Internet: The reason for the @overide error is because the Java compiler version is incorrect, java 1.5 compiler defaults to the method of the parent class overrides, with @override to explain, but 1.6,1.7 has been extended to the interface method; 1.5 compiler to compile, there will be an error.
Modify: Select window–> preferences–> java–> Compiler Select 1.6 or 1.7 in eclipse, and if not, select Compiler Project onfigure in Specifi C Settings Select the compiler version is 1.6 or 1.7, after setting, before the error project right-click android Tools > Fix project Properties, you will no longer error.
Java @override Error Resolution