I’ve got a question…
On Eclipse, when I want to load an Android library from the internet, I’ve got a lot of errors on @Override annotation.
I’am using the JDK 1.7…
Thanks for your help !
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Android requires that you compile the project using JDK 1.6. You may get annotation errors if you try to use another version of Java.
To make sure you’re using JDK 1.6:
Right-click on project in Eclipse, go to “Properties”.
Click on “Java Compiler” in the left column.
Here’s where you need to make sure that you’re not using Java version 1.5 OR version 1.7 to compile the project. You’ll need to use JDK 1.6 (see Android requirements).
Eclipse should then recognize the @Override annotations when using JDK 1.6.