简体   繁体   中英

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 :

运行英特尔®HAXM安装程序

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

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.

Intel HAXM is required to run the app on the emulator (Android Virtual Device). Unfortunately for me my computer does not support Intel Virtualization Technology so what I did is uncheck Android Virtual Device during installation and test run all my app in my phone instead.

在此输入图像描述

The same thing was happening with me. I just then closed the android studio and restarted the PC.

After this, I opened Android Studio and everything worked fine.

HYPER-V服务应该停止。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM