android studio 3.0 中的 Haxm 错误 windows 需要数字签名的驱动程序

Haxm error in android studio 3.0 with windows requires a digitally signed driver

我会在 SO 或 google 中找到很多解决方案,但它对我来说无济于事

每当我启动 AVD 时,下面的错误都会告诉我:

然后我尝试卸载 Haxm,然后重新安装,然后显示以下错误:


2018 年 6 月 14 日更新

现在我卸载 HAXM 并重新安装,然后给我以下错误。


2018 年 6 月 21 日更新

按照下面的回答,只要我按照第 1 步到第 10 步,它就可以完美地工作。 11 然后它给我错误,见下图:

能否请您帮忙安装 Haxm 或启动 AVD。

我的解决方案

第 1 步: 控制 Panel\All 控制面板 Items\Programs 和功能中卸载 HAXM 的所有驱动程序 -> 英特尔硬件加速执行管理器

第 2 步: 在 Android Studio 中进入 文件>设置>外观和行为>系统设置>Android SDK 在对话框中 Select SDK 工具 & 按照步骤 3.

第 3 步: 在对话框中未选中 Intel x86 仿真器加速器(Haxm 安装程序)

第 4 步: 打开 THIS LINK 下载 haxm-windows_v7_0_0.zip

第 5 步: 现在提取此 .zip 并复制数据并粘贴到此路径 AndroidSDK\extras\intel\Hardware_Accelerated_Execution_Manager

第 6 步: 现在安装 intelhaxm-android.exe (安装成功:).

第 7 步:现在正确关闭您的 android 工作室并 重新启动您的机器

干杯:)


  • 参见第 3 步图片在这张图片中我不能selectIntel x86 仿真器加速器(Haxm 安装程序)


该问题实际上与缺少 Windows 7 64 位安全更新间接相关。这里进行了深入讨论。 https://github.com/intel/haxm/issues/56

这里是论坛的相关评论

For the HAXM 7.2.0 release, we changed the certificate that we use to sign the Windows 7/8/8.1 driver (IntelHaxm.sys). Previously (for HAXM 7.1.0 and earlier), we used a SHA-1 certificate for these Windows versions. However, we were advised that SHA-1 algorithm is now considered insecure, and that we should replace it with SHA-256 (a variant of SHA-2). So we did that, and tested the new driver against our own Windows 7/8/8.1 systems without noticing any issue. However, apparently the new driver signature is not recognized by some Windows systems. According to this article, Windows 7 actually requires a patch to enable SHA-256 support, whereas Windows 8 and later supports it by default.

因此,简单地说,英特尔将驱动程序的数字签名从 HAXM 7.2 更改为 SHA-256。由于在没有特定 Windows 更新的 Win 7 64 位上不受支持,因此 HAXM 7.2 补丁根本无法识别为在这些系统上进行了数字签名。

总而言之,解决方案非常简单,但有两个方面。

  1. 如果可以,请先尝试安装这个 更新。 https://www.microsoft.com/en-us/download/details.aspx?id=46148
  2. 如果有效,则只需安装 HAXM 7.2

如果您无法以某种方式执行此操作,则需要卸载 7.2,然后从下载 link.

下载并安装 HAXM 7.1

下载 link 两个版本(用于手动安装): https://github.com/intel/haxm/releases

如何手动安装HAXM?

  1. 解压文件然后运行intelhaxm-android.exe(或静默 安装一个,如果你愿意的话)
  2. 运行 Android Studio 并再次尝试模拟器。
  3. 瞧!

这个特殊问题浪费了我在几个旧系统上的大量时间,所以我希望这对您有所帮助!

1 : 在控制面板中卸载 HAXM
2 : 在 SDK Manager -> SDK Tools 中取消选中 Intel x86 Emulator Accelerator (Haxm installer) 然后点击 OK
3 : 下载this link中的haxm v7_5_6.zip并解压
4 :在安装之前,重新启动您的 PC,然后按 F8
进入高级启动选项 5 : Select 禁用驱动程序签名强制
6 : 从解压缩的 zip 安装 intelhaxm-android.exe,等待安装完成,所有这一步应该都没有错误。

希望对您有所帮助