views:

765

answers:

1

When I import a new existing project into Eclipse, I get the following error message when attempting to execute as an Android project:

Project has no target set. Edit the project properties to set one

Any help is appreciated.

A: 

From the comments of this article:

[2009-05-27 12:18:36 - DroidGap] Project has no target set. Edit the project properties to set one.
[2009-05-27 12:18:38 - DroidGap] no classfiles specified
[2009-05-27 12:18:38 - DroidGap] Conversion to Dalvik format failed with error 1

I was able to solve this on the Projects > Properties > Android screen by:

  • first selecting Google APIs (which was incorrect for my setup)
  • and then reselecting Android 1.5 (which is correct and had previously been selected).

I was immediately able to run the emulator following this change.

VonC