0

以下行是我从控制台得到的错误

[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

4

2 回答 2

0

您是否在 Eclipse 中看到了项目中的正确库?

在您的项目上单击右键并转到属性。在 Android 选项卡中,您可以设置项目的正确目标。检查您是否选择了一个。

于 2012-10-01T14:50:37.267 回答
0

从 android sdk 显式打开您的模拟器,一旦它被加载,然后从 eclipse 在当前模拟器中手动运行您的应用程序。

希望这可以帮助。

于 2012-10-01T14:53:52.307 回答