2012-05-28 67 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例如內存。看起來它要求太多了。