本文介绍了Windows 10上的Android Studio安装向导会永远运行英特尔®HAXM安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新安装的Android Studio,下载它的组件后,我被安装向导Running Intel® HAXM installer困住了:

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

我该怎么办?如果我用任务管理器结束Android Studio的任务,我所有下载的组件都会丢失,因为仅取消Android Studio安装向导可能不会再执行任何操作! (我只是在完成自定义设置后才成功取消任务,因此结束了工作.)

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

推荐答案

https://中所述stackoverflow.com/a/54053514/2279059 ,只有Android虚拟设备才需要此驱动程序.如果不需要它(它对调试很有用,等等),只需在安装程序中看到有关如何禁用虚拟设备的其他答案即可.

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.

此变通办法是在相对较新的Windows 10 PC上为我完成的:

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

  1. 杀死安装程序
  2. 下载Intel HAXM驱动程序https://software.intel.com/zh-CN/articles/intel-hardware-accelerated-execution-manager-intel-haxm
  3. 从该ZIP文件中,运行haxm_android.exe
  4. 如果抱怨Hyper-V,请禁用Hyper-V:dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All(或参见 https://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/),然后再次运行.
  5. 再次运行Android Studio安装程序,选择卸载先前版本".
  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".

可以找到更多解决更多潜在问题的方法:我无法安装intel HAXM

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

另一个StackOverflow问题中还有一个很长的清单,用于在某处安装Intel HAXM驱动程序,但我再也找不到它.如果可以找到,请随时进行编辑.这个问题也有很多(半)重复的内容,要求进行清理,并且可能会结合所有步骤和要检查的内容来组合一个答案,而不仅仅是 my 机器.如果您在阅读本文后仍然感到困惑,请继续四处看看.

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.

这篇关于Windows 10上的Android Studio安装向导会永远运行英特尔®HAXM安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 00:20