带有Windows的android studio 3.0中的Haxm错误需要经过数字签名的驱动程序 [英] Haxm error in android studio 3.0 with windows requires a digitally signed driver

查看:348
本文介绍了带有Windows的android studio 3.0中的Haxm错误需要经过数字签名的驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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


更新14/06/2018

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


更新21/06/2018

按照下面的答案进行操作,只要我按照步骤1进行操作,它就可以完美地执行第1步至第10步. 11然后它给了我错误,请参见下图:

您能为安装Haxm或启动AVD提供任何帮助吗?

解决方案

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

这是论坛上的相关评论

对于HAXM 7.2.0发行版,我们更改了用于签署Windows 7/8/8.1驱动程序(IntelHaxm.sys)的证书.以前(对于HAXM 7.1.0和更早版本),对于这些Windows版本,我们使用SHA-1证书.但是,我们被告知SHA-1算法现在被认为是不安全的,我们应该将其替换为SHA-256(SHA-2的变体).因此,我们做到了这一点,并针对自己的Windows 7/8/8.1系统测试了新驱动程序,而没有发现任何问题.但是,显然,某些Windows系统无法识别新的驱动程序签名.根据这篇文章,Windows 7实际上需要一个补丁来启用SHA-256支持,而Windows 8和更高版本默认情况下支持它.

因此,简而言之,英特尔将驱动程序的数字签名从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,而是从下载链接下载并安装HAXM 7.1.

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

如何手动安装HAXM?

  1. 解压缩文件,然后运行intelhaxm-android.exe(或无提示) 如果愿意,请安装一个)
  2. 运行Android Studio,然后重试模拟器.
  3. Voila!

这个特殊的问题浪费了我很多旧系统上的时间,希望对您有所帮助!

I'll find lot's of solution in SO or in google but it's can't help full for me

Whenever i'll start AVD then below error can show me :

Then i try to Uninstall the Haxm and then Re Install then show me below error :


UPDATE 14/06/2018

Now i Uninstall the HAXM and reInstall then give me a below error.


UPDATE 21/06/2018

Follow below answer and it's work perfectly step No. 1 TO 10 whenever i'll follow step no. 11 then it's give me the error see below image:

Can you please any help for installing Haxm or Start the AVD.

解决方案

The problem is actually indirectly related to a missing security update for Windows 7 64 bit. It is discussed in depth here. https://github.com/intel/haxm/issues/56

Here is the relevant comment from the forum

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.

So, simply put, Intel changed the digital signature for the driver to SHA-256 from HAXM 7.2. And since this is unsupported on Win 7 64-bit without the particular Windows update, the HAXM 7.2 patch is simply not recognized as being digitally signed on these systems.

To summarize, the solution is quite simple but two-fold.

  1. If you can, then please go ahead and first try to install this update. https://www.microsoft.com/en-us/download/details.aspx?id=46148
  2. If it works, then simply install HAXM 7.2

If you are unable to do this somehow, then you need to uninstall the 7.2 and instead download and install HAXM 7.1 from the download link.

Download link for both versions (for manual installation): https://github.com/intel/haxm/releases

How to manually install HAXM?

  1. Unzip the file and then run intelhaxm-android.exe (or the silent install one, if you so prefer)
  2. Run Android Studio and try the emulator again.
  3. Voila!

This particular issue wasted a lot of my time on a couple of my older systems so I hope this helps!

这篇关于带有Windows的android studio 3.0中的Haxm错误需要经过数字签名的驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆