HAXM 未安装(Windows 10 家庭用户,Hyper-V 尚未安装)

arp*_*c03 5 windows virtualization hyper-v haxm flutter

长期读者,第一次海报。

我正在尝试开始学习 Flutter...但是,除了 HAXM 之外,我几乎已经安装了所有内容。我已经尝试了 Android Studio 上的安装程序以及 HAXM 的 GIT REPO 的发行档案中找到的单个安装程序(下载了 haxm-windows_v7_5_6,但有关 Hyper-V 仍在运行的问题)。见下图。

Failed to install Intel HAXM. For details, please check the installation log: "C:\Users\Amanda\AppData\Local\Temp\haxm_log2.txt"
HAXM installation failed. To install HAXM follow the instructions found at: https://software.intel.com/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Installer log is located at C:\Users\Amanda\AppData\Local\Temp\haxm_log2.txt
Installer log contents:
=== Logging started: 1/20/2020  11:44:38 ===
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed. 
Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.
Run Code Online (Sandbox Code Playgroud)

但是,我的计算机上未安装 Hyper-V,因为 Windows 10 家庭版不支持 Hyper-V。在我的 Windows 功能中找不到该选项,并且无法安装,因为“功能名称 Microsoft-Hyper-V 未知”。在 powershell 内。我什至尝试了下面第三张图片中的命令,重新启动了我的计算机,但安装仍然不起作用。

除此之外,我的 BIOS 中的 SVM 选项已经被标记为禁用,但由于Hyper-V being on. 任何帮助将不胜感激......

显然,在发布图像之前我需要声誉,如果您想查看错误消息,请给我留言

Pun*_*ish 9

如果您的计算机支持 HAXM 和 VT-x,首先,检查此处是否启用了虚拟化:在此输入图像描述

如果是(我在 W10 Home 上是这样),您需要运行 bcdedit /set hypervisorlaunchtype off以禁用它。我不知道为什么为我启用它,考虑到我无法在家庭版本上使用它。然后重新启动并运行 haxm 安装程序。

  • 我这样做了,现在它可以工作了,但是运行 bcdedit 并重新启动后任务管理器仍然显示“已激活”。但关闭 launchtype 后我可以成功安装 haxm。谢谢 (2认同)

Cau*_*ere 0

它无法安装的原因实际上与您的 Windows 版本中没有 Hyper-V 的原因相同。

Windows Home Edition 不支持 Intel 虚拟化技术 (VT-x),因此不支持 Hyper-V,也不支持 Intel HAXM。

您可以做的是安装虚拟机程序,例如VirtualBoxVMWare。这些程序可以从硬件虚拟化中受益,但不需要硬件虚拟化,因此即使没有英特尔虚拟化技术支持,它们也可以运行。