Problems Compiling Android Project After Importing Into A New Workspace

A couple of times now I’ve had compilation problems trying to compile an Android project after having just imported it into a new Workspace – and usually it seems to concern references to system packages. The solution seems to be:

  • Checking Windows –> Preferences –> Android –> SDK location which has blanked out. By resetting the path to the SDK then the SDK Targets re-appear.
  • Selecting Package Explorer –> <project> –> Android Tools –> Fix Project Properties. I can’t remember the exact reason this helped but it certainly did when loading source code that had accompanied a book.
About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s