android-emulator-hypervisor-driver
android-emulator-hypervisor-driver copied to clipboard
Android Emulator Hypervisor Driver for AMD Processors installation failed.
When i am trying to install Android Emulator Hypervisor driver for AMD Processor its says installation failed. please help
Any details? Or screenshot?
Same issue with:
Android Studio 4.0 Build #AI-193.6911.18.40.6514223, built on May 20, 2020 Runtime version: 1.8.0_242-release-1644-b01 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1237M Cores: 8 Registry: ide.new.welcome.screen.force=true

EDIT: Fixed by enabling Virtualization Technology in BIOS.
Sorry, I thought you were the original reporter and closed the issue. Let me wait for the original author's comments.
where is simple "silent_install.bat" file ????
Well its just says that i need a intel processor for that for amd i have to visit git hub thats all.
On Mon, 8 Jun, 2020, 1:09 PM Haitao Shan, [email protected] wrote:
Any details? Or screenshot?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/issues/17#issuecomment-640425289, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYKP4PGEVAGVLPTGUGG4ODRVSITJANCNFSM4NWV4OTA .
That's weird. You have AMD processor right? Android Studio 3.6 might have messy error message. 4.0 is supposed to give correct message. Again, can you post a screenshot so that I can investigate further? And your processor, Android Studio version, Windows version.
I too am missing the silent_install.bat file. I went to the code page. clicked "clone or download" then clicked "download Zip" I extracted the zip and in the README.md it says to use the Silent_installer.bat, but it doesn't exist
EDIT: I discovered I didn't need to do this, I just had to enable virtualization on my pc. I could then just use Android Studios to do it. I use an ASRock motherboard and I couldn't find it to enable for a while. because it is labeled as SVM which I didn't understand was the virtualization thing.
A very helpful video that showed me what I was doing wrong is right here https://youtu.be/JULTTn3TPnw
Also, an easy way to check if virtualization is enabled(on windows 10) is to open task manager, go to the performance tab, and click CPU. on the bottom of the window it should say virtualization: enabled/disabled.
I got this to work by enabling virtualization in BIOS. I have a AMD Ryzen 5 CPU and a gigabyte motherboard.
- Restart your computer
- On the boot up image, quickly press f12 to enter bios (might be a different function key depending on your motherboard)
- Go to BIOS configurations (navigation is done with arrow keys enter key to go into or select, and esc to go back)
- Go to the M.T.I. tab (should be the default tab)
- Go into "Advanced Frequency Settings"
- Scroll to "SVM Mode"
- You can also look for anything that says virtualization or VT-x if you dont see SVM
- Click, enter
- Highlight "enable" and click enter
- Click ESC to go back
- Scroll to the right to get to the save tab
- Highlight "Save and quit"
- Click enter
- Your computer will restart. Try to reinstall the SDK Tool, "Android Emulator Hypervisor Driver for AMD Processor (installer) through android studio
I am getting this same issue, virtualization is already enabled. Any other ideas?

I am getting this same issue, virtualization is already enabled. Any other ideas?
You have to make 2 things: -Activate Virtualization in bios -Desactivate Hyper-V and hypervisor platform in "activate/desactivate windows function" & run powershell as admin and copy :"Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V". Finally, reboot.
@cerasasus Yup - all of that is already done.
@cerasasus Yup - all of that is already done.
Type systeminfo in cmd and upload a screenshot. I had a problem where i enabled Hyper-v and disabled using "Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V" but still it was showing hyper-v status enabled. I entered another code which disabled the hyper v completely. Please upload a screenshot of systeminfo in cmd.
@Duroxxigar @cerasasus In these cases, most likely you have Hyper-V enabled. You can use emulator with Hyper-V and WHPX and ignore this error. Or you can disable Hyper-V and try to install the driver again. Android Emulator works with and without Hyper-V. The driver is only needed when it works without Hyper-V.
I had the exact same error as @jrojas25 @cerasasus @Duroxxigar. I tried all the steps mentioned here, from enabling SVM mode in BIOS up to disabling Hyper-V, but I am still getting the same error.
Then I came across @Taogle2018 comments on #12 .
Quoting @Taogle2018:
This means on your system Hyper-V is turned on. Checking feature checkbox in "Turn on and off Windows features" is not reliable at all. Sometime it is enabled implicitly by other Microsoft features. However, I cannot tell you what it is. Known possibilities are "Windows Sandbox", "Virtual Machine Platform" (This is required to run WSL v2), "Credential Guard", "Core Isolation" (in Windows Defender options).
This gave me some sort of a clue, and I tried disabling Virtual Machine Platform and Windows Hypervisor Platform as well (see the highlighted labels on the image below).

I was able to install Android Emulator Hypervisor Driver after that. I re-enabled the two features after and rebooted one last time. At last, I can now use the emulator.
I will try to comment back as I gather more details on the possible reasons, I just finished my Android Studio setup an hour ago.
@Duroxxigar I used these two commands to disable Hyper - V completely . I used Vmware to check if my hyper-v was completely disabled or not , i unchecked Hyper-V and Windows Hypervisor Platform but still Vmware was detecting hypervisor enabled . You can also use services.msc to check if hyper -v is completely disabled or not. Use these two commands of cmd to completely disable hyper-v. (restart pc after using these commands)
- Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor -All
- bcdedit /set hypervisorlaunchtype off Then install the AMD hypervisor , it will work without any issues. Use the latest stable build Android Studio 4.0 , It can automatically install Amd hypervisor driver through Sdk manager.
And also enable SVM mode in bios of motherboard to enable virtualisation in amd cpu's.
check out this video: https://www.youtube.com/watch?v=drdncwC2NgQ Go to releases tab on this repository and download the latest hypervisor v1.4.0(auto install present in android studio 4.0 - no need to download separately if you have android studio 4.0) and follow the steps from video. NOTE : If you have laptop with AMD processor with NVIDIA dedicated gpu then go to nvidia control panel and add these two programs and select High performance NVIDIA processor. file location : C:\Users\anila\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64 files to be added : qemu-system-i386.exe and qemu-system-x86_64.exe This was required for me as i have Asus Tuf fx505DT and my android emulator was freezing on startup.
If you have AMD Desktop processor without integrated graphics and dedicated gpu , everything must work normally.
If you have Amd processor with integrated gpu and no dedicated gpu then i don't know how it will work. You may try running normally.
I had the exact same error as @jrojas25 @cerasasus @Duroxxigar. I tried all the steps mentioned here, from enabling SVM mode in BIOS up to disabling Hyper-V, but I am still getting the same error.
Then I came across @Taogle2018 comments on #12 .
Quoting @Taogle2018:
This means on your system Hyper-V is turned on. Checking feature checkbox in "Turn on and off Windows features" is not reliable at all. Sometime it is enabled implicitly by other Microsoft features. However, I cannot tell you what it is. Known possibilities are "Windows Sandbox", "Virtual Machine Platform" (This is required to run WSL v2), "Credential Guard", "Core Isolation" (in Windows Defender options).
This gave me some sort of a clue, and I tried disabling Virtual Machine Platform and Windows Hypervisor Platform as well (see the highlighted labels on the image below).
I was able to install Android Emulator Hypervisor Driver after that. I re-enabled the two features after and rebooted one last time. At last, I can now use the emulator.
I will try to comment back as I gather more details on the possible reasons, I just finished my Android Studio setup an hour ago.
It's worked for me. I was also stuck at the same. Enabled everthing but can't install the Driver. But disabling Windows Hypervisor Platform works for me. Thanks Everyone.
You have an Intel CPU. This driver is for AMD CPUs.
You have an Intel CPU. This driver is for AMD CPUs.
Exactly, as per the Screenshots, you have an Intel processor so you don't need to install Hypervisor for AMD.
I am not able to install hypervisor drivers for amd processors.
I enabled SVM and disabled hypervision platform still not able to install.
Screenshot of "emulator-check.exe hyper-v"?
Screenshot of "emulator-check.exe hyper-v"?

OK. Your case does seem special. What antivirus program are you using? Maybe it uses virtualization extension and blocks gvm.
OK. Your case does seem special. What antivirus program are you using? Maybe it uses virtualization extension and blocks gvm.
I am using avast premiere pro. I tried with disabling the antivirus still i am getting this error. Should I install hyper v and disable it and then try installing ?
I remember one of the user here had the same problem. The problem does not go away by disabling antivirus program. Another user pointed out that you had to go to Avast settings and disable its virtualization-based antivirus feature. I do not use Avast so I do not know exactly how. https://forum.avast.com/index.php?topic=198523.0 Maybe you can take a look at this?
I remember one of the user here had the same problem. The problem does not go away by disabling antivirus program. Another user pointed out that you had to go to Avast settings and disable its virtualization-based antivirus feature. I do not use Avast so I do not know exactly how. https://forum.avast.com/index.php?topic=198523.0 Maybe you can take a look at this?
Thanks. my problem got resolved by disabling virtualization-based antivirus feature.
I too am missing the silent_install.bat file. I went to the code page. clicked "clone or download" then clicked "download Zip" I extracted the zip and in the README.md it says to use the Silent_installer.bat, but it doesn't exist
EDIT: I discovered I didn't need to do this, I just had to enable virtualization on my pc. I could then just use Android Studios to do it. I use an ASRock motherboard and I couldn't find it to enable for a while. because it is labeled as SVM which I didn't understand was the virtualization thing.
A very helpful video that showed me what I was doing wrong is right here https://youtu.be/JULTTn3TPnw
Also, an easy way to check if virtualization is enabled(on windows 10) is to open task manager, go to the performance tab, and click CPU. on the bottom of the window it should say virtualization: enabled/disabled.
IT WORKS
I finally solved the problem by following the steps to disable Credential Guard.
Microsoft posted the following article on 09/09/2020
Virtualization applications do not work together with Hyper-V, Device Guard, and Credential Guard https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v
And enable / disable Credential Guard article https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage
In my case, I had to disable "Enable hardware-assisted virtualization" on AVG Antivirus to install AMD
Open AVG -> Menu -> Settings -> General -> Troubleshooting -> Untick "Enable hardware-assisted virtualization" -> Restart
SVM was already enabled in bios by default on my ASRock motherboard and all the WIndows Features virtualization stuff was by default unchecked.
It installed just fine now.
In my case, I had to disable "Enable hardware-assisted virtualization" on AVG Antivirus to install AMD
Open AVG -> Menu -> Settings -> General -> Troubleshooting -> Untick "Enable hardware-assisted virtualization" -> Restart
SVM was already enabled in bios by default on my ASRock motherboard and all the WIndows Features virtualization stuff was by default unchecked.
It installed just fine now.
This worked for me, using Avast Menu -> Settings -> General -> Troubleshooting -> Untick "Enable hardware-assisted virtualization" -> Restart
Thanks !!!