简体   繁体   English

尝试启动仿真器时出现此错误是什么意思?

[英]What does this error mean that I get when trying to start an emulator?

I am using Eclipse 4.4(Luna) and am trying to start an Emulator to test my android application and I am getting the following error: 我正在使用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

The emulator opens on a black screen with android written across the middle, I then try to run my application as an android application and get the following messages: 模拟器在黑屏上打开,中间写着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!

Can someone explain why I am getting these errors and how I can go about fixing them please? 有人可以解释为什么我会收到这些错误以及如何解决这些错误吗?

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

means you are trying to open emulator which you have already opened.Close that & then try to open. 表示您正在尝试打开已经打开的模拟器。关闭该模拟器,然后尝试打开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM