Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CPU acceleration status: HAXM must be updated

Tags:

android

avd

haxm

I create a new virtual device in Android Studio. When I attempt to start it, I get the following error message:

Cannot launch AVD in emulator. Output: emulator: WARNING: Increasing RAM size to 1024MB emulator: WARNING: VM heap size set below hardware specified minimum of 384MB emulator: WARNING: Setting VM heap size to 384MB emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1). 

How can I fix this error?

like image 352
Terance Wijesuriya Avatar asked Apr 27 '16 04:04

Terance Wijesuriya


People also ask

How do I enable Intel HAXM?

Go to SDK Manager in Tools > Android > SDK Manager, go to launch Standalone SDK Manager, then check the Intel x86 Emulator Accelarator(HAXM Installer) Then downnload intel haxm from https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager , haxm-windows_v6_0_1.

Do I need HAXM for emulator?

Intel's Hardware Accelerated Execution Manager (HAXM).It is recommended that you use the Hypervisor Framework to accelerate the Android emulator. If the Hypervisor Framework is not available on your Mac, then HAXM can be used.


1 Answers

You will need to actually install the Intel HAXM in order to use it:

Windows

  1. In your Android SDK folder, look in extras\intel\Hardware_Accelerated_Execution_Manager\
  2. Run intelhaxm-android.exe 

Mac

  1. Open the HAXM directory

    cd $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager 

    or, if $ANDROID_HOME is not set (i.e. if you're getting an error " No such file or directory"), try

    cd /Users/$USER/Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager 
  2. Run the installer:

    • Mount the HAXM *.dmg file, then run the *.mpkg contained inside it

    or

    • Execute $ ./silent_install.sh
like image 76
Ravi Vaghela Avatar answered Oct 02 '22 23:10

Ravi Vaghela