以下行是我从控制台获取的错误
[2012-10-01 20:34:24 - User Tracking Client] Android Launch!
[2012-10-01 20:34:24 - User Tracking Client] adb is running normally.
[2012-10-01 20:34:24 - User Tracking Client] Performing com.buet.tracker.Copy_2_of_MainActivity activity launch
[2012-10-01 20:34:30 - User Tracking Client] Launching a new emulator with Virtual Device 'avd4.0.3'
[2012-10-01 20:34:32 - User Tracking Client] New emulator found: emulator-5554
[2012-10-01 20:34:32 - User Tracking Client] Waiting for HOME ('android.process.acore') to be launched...
[2012-10-01 20:36:21 - User Tracking Client] HOME is up on device 'emulator-5554'
[2012-10-01 20:36:21 - User Tracking Client] Uploading User Tracking Client.apk onto device 'emulator-5554'
[2012-10-01 20:36:21 - User Tracking Client] Installing User Tracking Client.apk...
[2012-10-01 20:38:26 - User Tracking Client] Failed to install User Tracking Client.apk on device 'emulator-5554!
[2012-10-01 20:38:26 - User Tracking Client] (null)
[2012-10-01 20:38:26 - User Tracking Client] Failed to install User Tracking Client.apk on device 'emulator-5554': device not found
[2012-10-01 20:38:26 - User Tracking Client] com.android.ddmlib.InstallException: device not found
[2012-10-01 20:38:26 - User Tracking Client] Launch canceled!
模拟器正常运行,但它从控制台显示它没有检测到api
答案 0 :(得分:0)
您是否在Eclipse中看到了项目中正确的库?
在项目上单击右键,然后转到属性。在Android选项卡中,您可以设置项目的正确目标。检查您是否选择了一个。
答案 1 :(得分:0)
从android sdk中显式打开你的模拟器,一旦加载,然后从eclipse手动运行当前模拟器中的应用程序。
希望这会有所帮助。