android – OnClickListener must override a superclass method

The method onClick(DialogInterface, int) of type new DialogInterface.OnClickListener(){} must override a superclass method.

Try this:
Right click on project
Select Properties
In open dialogue select Java compiler
Set Enable project specific settings
Set Compiler compliance level to 1.6

project-properties-eclipse

java-compiler-settings-eclipse

This entry was posted in Android Examples Code, Bugs, warnings, errors and tagged . Bookmark the permalink.


Comments are closed.



5,763 views