Android – error when importing android projects into eclipse

androideclipseimport

currently i have difficulties trying to import the lynda.com android app development with java essential training exercise files into eclipse. I keep getting some java errors like this.Can someone help me out with this problem?
Currently im using

  • Android SDK r12
  • ADT 12 plugin for eclipse
  • JDK 7×64
  • JRE 7×64
  • LEclipse IDE for Java Developers 3.7 indigo

here's the error:

The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.Object. Fix the build path, then try
building this project.

The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files

(original screenshot below)
enter image description here

Best Answer

A little late on this, however after struggling with the issue myself I found a solution to the problem.

  1. Right Click on the project --> Build Path --> Configure Build Path...
  2. In the 'Source' tab, Select the project eg. 'myProject/src' --> Click OK.
  3. Right Click on the project --> Android Tools --> Fix Project Properties

That should do it!