Possible duplicate:
Android requires a compiler compliance level of 5.0 or 6.0. Instead, "1.7" was found. Use Android Tools> Fix Project Properties
After recovering my PC, I get this error when importing my projects.
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.
I saw that this was raised on SO, and I can fix my projects by running Fix Proj and then deleting all my @OVerrides.
This question, why do I need to remove @Overrides now? and will that change my designs anyway?
greetings
Edit to add walkthrough information.
I import the project, I get the error above. Then I do Android Tools > Fix Project Properties
. This now sets Project> Properties Java Compile to Compiler Compliance Level 1.5
After that, I remain with a number of errors in my java files. on this particular project my errors are on
@Override public void run() {...
Token error to the left of the error ...
Multiple markers at this line - The method run() of type new Runnable(){} must override a superclass method - implements java.lang.Runnable.run
The hover error in eclipse suggests that I remove @Override to fix this problem, and if I remove @Override, it will fix the problem and my project will now compile and run. This is not true?
ps I just wrote all this, changed the Java compliance level to 1.6 and all the override errors disappeared! Can someone explain (and I fully understand that this may be completely off topic) why?