Philip Hendry's Blog

June 13, 2011

Problems Compiling Android Project After Importing Into A New Workspace

Filed under: Android, Eclipse — philiphendry @ 6:34 pm

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.
Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.