繁体   English   中英

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

[英]HAXM Is Not Installing (Windows 10 Home User, Hyper-V is already Not Installed)

长期读者,第一次海报。

我正在尝试开始学习 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.

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

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

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

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

如果是(这是给我的,我在 W10 Home 上),那么您需要运行 bcdedit /set hypervisorlaunchtype off 来禁用它。 IDK为什么为我启用它,考虑到我不能在家庭版上使用它..然后重新启动并运行haxm安装程序。

经过多次尝试,我在 Windows Home 上遇到了同样的问题,对我有用的解决方案在这里: https : //github.com/intel/haxm/releases并下载 Windows 版本的 Intel Haxm 并安装它然后运行模拟器

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

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

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

在浪费时间阅读所有与“设备保护和凭据保护”相关的文章之后,下面是我的设置和解决方案:

  • Windows 10家单语
  • 英特尔酷睿i9
  • 在 BIOS 中启用虚拟化
  • 通过“关闭 windows 功能”卸载 Hyper-V

C:\Program Files\Intel\HAXM\checktool.exe --verbose在“虚拟化 VT-x”和“禁用 Hyper-V”方面对我来说仍然是“否”

最终的解决方案是使用以管理员身份运行的Powershell 通过命令行停用 Hyper-V:

bcdedit /set hypervisorlaunchtype off

然后重启

最佳.-

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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