Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
453 views
in Technique[技术] by (71.8m points)

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

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 :

enter image description here

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

enter image description here


UPDATE 14/06/2018

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

enter image description here


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:

enter image description here

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...