尝试启动模拟器时,这个错误意味着什么?

时间:2014-08-09 09:37:38

标签: java android eclipse emulation

我正在使用Eclipse 4.4(Luna)并尝试启动模拟器来测试我的Android应用程序,我收到以下错误:

Starting emulator for AVD 'droidX'
WARNING: Data partition already in use. Changes will not persist!
WARNING: SD Card image already in use: C:\Users\world_000\.android\avd\droidX.avd/sdcard.img
WARNING: Cache partition already in use. Changes will not persist!
emulator: Failed to open the HAX device!
HAX is not working and emulator runs in emulation mode
emulator: Open HAX device failed
creating window 0 0 238 423

模拟器在黑色屏幕上打开,中间写有android,然后我尝试以android application运行我的应用程序并收到以下消息:

[2014-08-09 10:34:17 - FirstApp] Android Launch!
[2014-08-09 10:34:17 - FirstApp] adb is running normally.
[2014-08-09 10:34:17 - FirstApp] Performing com.example.james.zafar.FullscreenActivity activity launch
[2014-08-09 10:34:17 - FirstApp] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'droidX'
[2014-08-09 10:34:17 - FirstApp] Uploading FirstApp.apk onto device 'emulator-5554'
[2014-08-09 10:34:17 - FirstApp] Failed to install FirstApp.apk on device 'emulator-5554': No such file or directory
[2014-08-09 10:34:17 - FirstApp] com.android.ddmlib.SyncException: No such file or directory
[2014-08-09 10:34:17 - FirstApp] Launch canceled!

有人可以解释为什么我会收到这些错误以及如何解决这些错误吗?

1 个答案:

答案 0 :(得分:1)

WARNING: Data partition already in use. Changes will not persist!
WARNING: SD Card image already in use: C:\Users\world_000\.android\avd\droidX.avd/sdcard.img

表示您正在尝试打开已经打开过的模拟器。关闭它&然后尝试打开。