Search code examples
androidhaxm

HAXM Hardware Requirements


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


Solution

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