2012-05-28 34 views
2

所以我想进入为Android创建应用程序。我阅读并遵循this tutorial建立我需要的一切,但运行我的第一个小应用程序的时候,我得到了以下信息:在Eclipse上运行Android模拟器的问题

[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. 

除了这个事实,我不知道这意味着什么,当然我做了一些搜索,并有人在这里有大约同样的问题:Running the new Intel emulator for Android

在那里,它是一个建议使用SDK管理器安装英特尔硬件加速执行管理器。我尝试一下,然后再次出现错误:

Preparing to install archives 
Unexpected Error installing 'Intel Hardware Accelerated Execution Manager, revision 1': 
org.eclipse.swt.SWTException: Widget is disposed 

我不知道该怎么做。有谁能帮我出来吗?

问候

+1

你能尝试从这里的解决方案:http://stackoverflow.com/questions/10761696/android-running-the-new-intel-emulator – Yury

回答

0

请参阅本页面:从HAX东西除了Configuring Virtual Machine Acceleration

+0

嗨,谢谢你的答案!可悲的是,我的处理器不支持虚拟化。还有什么我可以做的吗? (http://products.amd.com/pages/NotebookCPUDetail.aspx?id=18&f1=&f2=&f3=&f4=&f5=&f6=&f7=&f8=&f9=) – user1421874

+0

不是我所知道的。对不起,祝你的应用程序好运。 – Yaniv

+0

如果没有虚拟化,您无法运行英特尔硬件加速映像,但仍然可以运行基本的慢速映像。你确定你的CPU不支持它,也许它只是在BIOS中关闭,它通常是默认的。 –

3

,尽量减少你给设备800MB例如内存。看起来它要求太多了。