2

I get an error on every line that has the @Override annotation.

For example, the following message appears as the error popup:

Multiple markers at this line - The method onClick(DialogInterface, int) of type new DialogInterface.OnClickListener(){} must override a superclass method - implements android.content.DialogInterface.OnClickListener.onClick

The Compiler compliance level is set to 1.7.

I've read that this problem was occurring when eclipse defaults to 1.5 and it should be set to 1.6. But in the case of 1.7 what would the solution be?

Also, can I just remove the @Override annotation and be trouble free?

4

0 回答 0