The project was not built since its build path is incomplete

Angelo Tricarico picture Angelo Tricarico · Feb 18, 2012 · Viewed 135k times · Source

Every time I try to import a project downloaded from googlecode into Eclipse but I get some errors:

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

Unable to resolve target 'android-10' (this changes from 1 to 15)

I've already checked the other answers on the site but no solution worked.

In

Properties -> Java Build Path -> Libraries

there's 1 item:

Unable to get system libraries for the project

Answer

Steve picture Steve · Nov 26, 2012

Right click on project -> Properties -> Java Build Path (From Left List) -> Libraries (Tab) -> Add Library (Button on right) -> JRE System Library -> Next -> Workspace default JRE -> Finish

This should solve at least one of your errors. Any others might require you to add further libraries.

Hope this helps.