Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Intel® HAXM installer takes forever with Android Studio Setup Wizard on Windows 10

I have a newly installed Android Studio, upon downloading its components I've stuck on the setup wizard Running Intel® HAXM installer:

Running Intel® HAXM installer

What should I do? Will all my downloaded components lost if I end the task of my Android Studio with my Task Manager because just canceling Android Studio Setup Wizard might have no action AGAIN! (I've done ending its task upon no success of cancelling it just want to customize the setup.)

like image 902
5ervant - techintel.github.io Avatar asked Oct 16 '18 04:10

5ervant - techintel.github.io


People also ask

How much RAM do I need for HAXM?

The maximum memory for the Intel HAXM driver on a 32-bit system is 1.6GB. For a 64-bit system, the maximum is 8GB.

Is HAXM necessary for Android Studio 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

EDIT: As pointed out in https://stackoverflow.com/a/54053514/2279059, this driver is only needed for the Android virtual device. If you don't need it (it is useful for debugging, etc.), just see that other answer about how to disable the virtual device in the installer.

This workaround did it for me on a relatively fresh Windows 10 PC:

  1. Kill the installer process
  2. Download the Intel HAXM driver from https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm
  3. From that ZIP file, run haxm_android.exe
  4. If it complains about Hyper-V, disable Hyper-V: dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All (or see https://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/), then run it again.
  5. Run the Android Studio installer again, selecting "Uninstall Previous Version".

More solutions to more potential problems may be found here: I can't install intel HAXM

There is also a long checklist in another StackOverflow question for installing the Intel HAXM driver somewhere, but I could not find it again. Feel free to edit if you can find it. There are also lots of (semi-)duplicates of this question begging for cleanup and maybe assembling one answer with all the steps and things to check, not just what I had to do on my machine. If you are still stuck after reading this, keep looking around.

like image 143
Florian Winter Avatar answered Sep 22 '22 18:09

Florian Winter