HAXM Hardware Requirements

纵饮孤独 提交于 2019-12-23 10:09:43

问题


Do i need to upgrade my processor to run HAXM or have i missed something? If i have missed something, any hints would be greatly appreciated :)

  1. My processor is Intel Core2 6300 @ 1.86GHz 1.86GHz installed memory 4.00 Gb. Running on Win7.

  2. I have enabled VT in the BIOS, but it is for 16 and 32 bits? Is this a problem?

  3. I have run the intel processor identification utility, file pidenu39.msi from ... Intel® Processor Identification Utility - Windows* Version

    It tells me on the CPU Technologies tab that my processor does have Intel Virtualization Technology, but does not have VT-x Virtualization Technology with Extended Page Tables. Is this OK?

  4. From this website , Configuring Virtual Machine Acceleration

i have followed all of the instructions under this heading ... Configuring VM Acceleration on Windows

sc query intel haxm does indicate that the virtualization driver is operating correctly.

  1. I am running the newest version of Android Studio. I am running the very simple Hello Android app from the Android Application Devekopment for Dummies book, chapter 3. Nothing complex or messy here :)

I get this message sequence ...

C:\AndroidSDK\tools\emulator.exe -avd Nexus_5_API_21_x86 -netspeed full -netdelay none

emulator: device fd:584

**HAX is not working** and emulator runs in emulation mode

emulator: The memory needed by this VM exceeds the driver limit
.
emulator: warning: opening audio input failed
creating window 39 53 300 532
../../sdk/emulator/opengl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glAttachShader:156 error 0x501
../../sdk/emulator/opengl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glAttachShader:156 error 0x501

Followed by many more error 0x501s


回答1:


How much RAM is set for use inside your AVD configuration ? this number has to be lower or equal to the memory usage you have set during the installation of HAXM.

If I am not wrong you are using Android Studio, and there is an option for RAM size when creating virtual device from AVD , please read this, Managing AVDs with AVD Manager

Also, the default ram size is 96 megabytes.




回答2:


Just a note, but if you want to change the amount of ram that HAXM has available you can re-run the installation and it will allow you to alter the setting.

I found this out by accident when I was trying to update HAXM. The last page of the install tells you that you can change the setting by re-running install.




回答3:


I had the same problem with a similar processor, core i3, in my VAIO laptop. VT was also enabled on the BIOS and the problem was fixed when I uninstalled the avast anti-virus(no disabling the protection) and so I could finish the HAMX installation. After that, I installed the Avast software again.

I hope this issue can help more people.



来源:https://stackoverflow.com/questions/27668832/haxm-hardware-requirements

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!