Install Intel X86 Emulator Accelerator (Haxm), On Android Studio/Windows 10

Posted on

After Install Android Studio on Windows 10, yous tin install Intel x86 Emulator Accelerator (HAXM).

Refer to Android Developers document “Using the Emulator – Configuring Virtual Machine Acceleration“:

Many modern CPUs supply extensions for running virtual machines (VMs) to a greater extent than efficiently. Taking payoff of these extensions amongst the Android emulator requires unopen to additional configuration of your evolution system, but tin significantly ameliorate the execution speed. Before attempting to role this type of acceleration, yous should kickoff decide if your evolution system’s CPU supports 1 of the next virtualization extensions technologies:

  • Intel Virtualization Technology (VT, VT-x, vmx) extensions
  • AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)

The specifications from the manufacturer of your CPU should yell for if it supports virtualization extensions. If your CPU does non back upwards 1 of these virtualization technologies, too then yous cannot role virtual car acceleration.

If your organization amongst Intel’s CPU, yous tin check if the Virtualization Technology is Enabled using Intel® Processor Identification Utility.

To install Intel x86 Emulator Accelerator (HAXM Installer) too run it, read this video.

Most probably, yous volition come across the next fault too the Android Emulator cannot run!

HAXM is non working too emulator runs inwards emulation mode
emulator: The retentivity needed past times this AVD exceeds the max specified inwards your HAXM configuration.
emulator: AVD      RAM size = 1536 MB
emulator: HAXM max RAM size = 512 MB
emulator: You powerfulness desire to adapt your AVD RAM size and/or HAXM configuration to run inwards fast virt mode.

Because The HAXM installer suggested a 512MB/1GB RAM past times default, too the default AVD created past times Android Studio Setup require 1536 MB. To laid it, edit your AVD to require 1GB of RAM.

Or, yous can/have to re-install HAXM to increase HAXM max RAM size.