Android method cancels

In the process of switching my Android development environment from my Mac to the new Ubuntu 11.04 system. Everything builds correctly, without errors on the poppy, but after checking and excluding from github, I get an error message in all @override onClick code, complaining that I have to remove @Override. It makes sense?

Here's the error: the onClick (View) method of type new View.OnClickListener () {} should override the superclass method

I get a very similar error in the Runnable startup method.

+3
source share
2 answers

1.5 JDK does not support @Override on interfaces. Use 1.6 JDK.

+3
source

  Eclipse, : goto: == > == > Java == > ( ) ) == > : 1.6 == > ,

0

All Articles