HAXM does not work on Linux

5 answers

HAXM is required only for Windows and OS X. On Linux, you need to install KVM.

See the "Configuring VM Acceleration on Linux" section: http://developer.android.com/tools/devices/emulator.html#accel-vm

Just load the x86-based system images in the SDK manager, then run AVD, the KVM will be automatically detected and automatically used if your computer / system supports it.

+15
source

Intel Hardware Accelerated Execution Manager provides hardware virtualization. It should (hopefully) work the same with later versions of the Android emulator. Use the Android SDK Manager to download the KitKat x86 emulator.

Here's a more recent Intel document: http://software.intel.com/en-us/android/articles/speeding-up-the-android-emulator-on-intel-architecture and google documentation: http: // developer. android.com/tools/devices/emulator.html

Follow these instructions.

If it still does not work for you, there are many possible reasons, such as: the absence of an Intel processor that is not installed properly, you need to set BIOS parameters, reboot, allocate a lot of memory for HAXM, you need to save the AVD memory size, trying to configure the emulator for host GPU usage, ...

What are the specific symptoms? Try to find them on Google.

Also find the Hardware Accelerated Execution Manager linux for more documentation and reports on results.

+1
source

As @Digit already mentioned, you do not need HAXM for Linux, but KVM.

Although the links in the other answers give an exhaustive answer, for those who like it on my Ubuntu, that was enough:

 sudo apt-get install kvm 
+1
source

KVM must be enabled by inserting the kernel module:

 sudo modprobe kvm-intel 

How to start Intel with hardware virtualization (hypervisor) on Linux to speed up the use of the Intel x86 x86 emulator can help; verbose output is also useful for testing:

 emulator -avd ... -verbose 

should write something like:

 emulator: CPU Acceleration: working emulator: CPU Acceleration status: KVM (version 12) is installed and usable. 

qemuhowto :

You must have the kvm module (kvm-intel or kvm-amd) installed for your kernel, and the / dev / kvm permission is configured so that your user can access it. Otherwise, KVM support will be disabled and it may work very slowly.

+1
source

All Articles