Problems running the Android emulator on Eclipse
所以我想开始为Android开发应用程序。我阅读并遵循本教程来设置我需要的一切,但是当运行我的第一个小应用程序时,我会收到以下消息:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [2012-05-28 16:09:54 - HelloAndroid] Android Launch! [2012-05-28 16:09:54 - HelloAndroid] adb is running normally. [2012-05-28 16:09:54 - HelloAndroid] Performing jannis.test.helloandroid.HelloAndroid activity launch [2012-05-28 16:09:54 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'MyAVD' [2012-05-28 16:09:54 - HelloAndroid] Launching a new emulator with Virtual Device 'MyAVD' [2012-05-28 16:10:55 - Emulator] WARNING: Data partition already in use. Changes will not persist! [2012-05-28 16:10:55 - Emulator] emulator: Failed to open the HAX device! [2012-05-28 16:10:55 - Emulator] HAX is not working and emulator runs in emulation mode [2012-05-28 16:10:55 - Emulator] [2012-05-28 16:10:55 - Emulator] emulator: Open HAX device failed [2012-05-28 16:10:55 - Emulator] [2012-05-28 16:10:55 - Emulator] Failed to allocate memory: 1455 [2012-05-28 16:10:55 - Emulator] [2012-05-28 16:10:55 - Emulator] This application has requested the Runtime to terminate it in an unusual way. [2012-05-28 16:10:55 - Emulator] Please contact the application's support team for more information. |
此外,我不知道这意味着什么,当然我做了一些搜索,这里有人也遇到了同样的问题:为Android运行新的英特尔模拟器
建议您使用SDK管理器安装Intel硬件加速执行管理器。我尝试了一下,然后再次得到一个错误:
1 2 3 | Preparing to install archives Unexpected Error installing 'Intel Hardware Accelerated Execution Manager, revision 1': org.eclipse.swt.SWTException: Widget is disposed |
我不知道该怎么办。有人能帮我吗?
当做
例如,除了hax之外,还可以尝试将设备的内存减少到800MB。看起来要求太多了。
请参阅本页:配置虚拟机加速