【问题标题】:What does this error mean that I get when trying to start an emulator?尝试启动模拟器时出现此错误是什么意思?
【发布时间】:2014-08-09 09:37:38
【问题描述】:

我正在使用 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!

谁能解释一下为什么我会收到这些错误以及如何解决这些错误?

【问题讨论】:

    标签: java android eclipse emulation


    【解决方案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
    

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

    【讨论】:

      猜你喜欢
      • 2021-12-29
      • 2021-10-25
      • 2016-09-14
      • 1970-01-01
      • 1970-01-01
      • 2020-01-31
      • 1970-01-01
      • 2014-09-07
      • 1970-01-01
      相关资源
      最近更新 更多