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

前端 未结 8 740
北海茫月
北海茫月 2020-12-09 14:48

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

8条回答
  •  囚心锁ツ
    2020-12-09 15:21

    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.

提交回复
热议问题