Category Archives: Android

Eclipse: The project cannot be built until the build path errors are resolved.

A strange problem occurs in Eclipse when I tried the ‘Hello World’ example from LibGDX.

After importing the project to their instruction, one problem remained in Eclipse:

The project cannot be built until the build path errors are resolved.

I have installed Eclipse with the Android ADT plugin.
The solution, or workaround, for this problem can be found here:

http://www.scottdstrader.com/blog/ether_archives/000921.html

The resolution was to force a resave of the selected projects (and their .classpath files):

  • Open the project properties
  • Select Java Build Path > Libraries
  • Add a new, arbitrary library (to be deleted later) > OK
  • Wait for the workspace to refresh (or force a refresh of the project)
  • The error(s) will go away
  • Remove the dummy library

The only other references I could find were to make minor alterations of contents of the .classpath file.