Open Sourav577 opened 4 years ago
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, notifications@github.com 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.
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)
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 !!!
你好 怎么解决的
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.
你好怎么解决的
Hi I have same issue - cannot install Android Emulator on my AMD Acer Windows 10 PC
I tried de-selecting HyperV and Virtual Machine in Window Features as described by many members above. Restarted PC, attempted to install Emulator via Android SDK - didn't work I also checked in UEFI settings of my PC but apparently did not find any settings relating to virutalization, restarted PC and re-attempted - didn't work
But I get this repeatedly ...Upon choosing Tools-->Android SDK-->SDK Tools--> selecting Android Emulator Hypervisor Driver for AMD I get below:
I have manually renamed the folder by removing the '-2' I have also manually run as Administrator the silent-install.bat Same steps get repeated each time
Any help will be greatly appreciated
I have the same issue as @Sandyhi5 : Hyper-V disabled and Virtualization enabled on a Threadripper 2950x, Asrock motherboard - rebooted at each step -> installation of the emulator (within Studio 4.0 and from Github) fails with the same msg as above...
Appreciate any inputs!!
You have to enable the SVM mode to enable in BIOS. Even i have faced the issue then have enabled it worked out. To help out others i have made youtube video so that it can help others who are facing the issue like me. Please checkout to visualize the steps and rectify it. https://youtu.be/OB1IxZ8hq7g even this doesnt work then follow this thread https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/issues/25
Hi, I got a different error:
Your CPU does not support required features (VT-x or SVM).
But it is already enabled in BIOS (see "Virtualization: Enabled" in the screenshot)
You should turn on SVM from boot menu.
On Fri, 20 Nov, 2020, 4:35 pm Shun Zi, notifications@github.com wrote:
Hi, I got a different error:
Your CPU does not support required features (VT-x or SVM).
But it is already enabled in BIOS (see "Virtualization: Enabled" in the screenshot)
[image: "Your CPU does not support required features (VT-x or SVM)." when installing AMD Hypervisor Driver] https://user-images.githubusercontent.com/20991618/99793031-fa3ca580-2b62-11eb-8b89-53bc68649cff.png
— 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-731103187, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYKP4J4SMZIGJ6UJ5CTNU3SQZEORANCNFSM4NWV4OTA .
Checked and it's enabled.
于 2020年11月20日 GMT+08:00 下午7:16:25, Sourav577 notifications@github.com 写到:
You should turn on SVM> from boot menu.>
On Fri, 20 Nov, 2020, 4:35 pm Shun Zi, notifications@github.com wrote:>
Hi, I got a different error:>
Your CPU does not support required features (VT-x or SVM).>
But it is already enabled in BIOS (see "Virtualization: Enabled" in the> screenshot)>
[image: "Your CPU does not support required features (VT-x or SVM)." when> installing AMD Hypervisor Driver]>
https://user-images.githubusercontent.com/20991618/99793031-fa3ca580-2b62-11eb-8b89-53bc68649cff.png>
—> 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-731103187,> or unsubscribe>
https://github.com/notifications/unsubscribe-auth/APYKP4J4SMZIGJ6UJ5CTNU3SQZEORANCNFSM4NWV4OTA> .>
-- > You are receiving this because you commented.> Reply to this email directly or view it on GitHub:> https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/issues/17#issuecomment-731108661
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Strange..... Do you have a AMD processor?
On Fri, 20 Nov, 2020, 4:56 pm Shun Zi, notifications@github.com wrote:
Checked and it's enabled.
于 2020年11月20日 GMT+08:00 下午7:16:25, Sourav577 notifications@github.com 写到:
You should turn on SVM> from boot menu.>
On Fri, 20 Nov, 2020, 4:35 pm Shun Zi, notifications@github.com wrote:>
Hi, I got a different error:>
Your CPU does not support required features (VT-x or SVM).>
But it is already enabled in BIOS (see "Virtualization: Enabled" in the> screenshot)>
[image: "Your CPU does not support required features (VT-x or SVM)." when> installing AMD Hypervisor Driver]>
< https://user-images.githubusercontent.com/20991618/99793031-fa3ca580-2b62-11eb-8b89-53bc68649cff.png
—> 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-731103187 ,> or unsubscribe>
< https://github.com/notifications/unsubscribe-auth/APYKP4J4SMZIGJ6UJ5CTNU3SQZEORANCNFSM4NWV4OTA
.>
-- > You are receiving this because you commented.> Reply to this email directly or view it on GitHub:>
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
— 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-731113393, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYKP4IXWEMZBLBJGLCXMNTSQZG6RANCNFSM4NWV4OTA .
@Sourav577 Yes, please see in the screenshot: an AMD 3700X with Virtualization enabled.
This is completely new, try enabling Hyper - V and check
@jchaitanya16 With Hyper-V on, the emulator starts and runs normally, but obviously it's running on WHPX instead of Hypervisor Driver for AMD. And "Android Emulator Hypervisor Driver for AMD Processors" disappears from "SDK Manager > SDK Tools".
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?
Thank you. This was the culprit. I also disabled it and only then my emulator could start. You are a life saver bro.!
Also had problem with avast. Fixed after disabling it
I am unable to load the Android Emulator Hypervisor Driver for AMD. I tried to disable Hyper-V but I don't have it. can someone help. please? @anilabhadatta
Help!
Hi, I got a different error:
Your CPU does not support required features (VT-x or SVM).
But it is already enabled in BIOS (see "Virtualization: Enabled" in the screenshot)
Turns out that I am using an outdated Android Emulator (29.2.1). Updating it to 30.5.4 solves my issue.
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 works! Thank you!
where is simple "silent_install.bat" file ????
Install haxm from GitHub.and install .then go to c/user/admin(username)/appdata/local/android/SDK/extras/intel and copy the folder extracted from haxm folder.
where is simple "silent_install.bat" file ????
Install haxm from GitHub.and install .then go to c/user/admin(username)/appdata/local/android/SDK/extras/intel and copy the folder extracted from haxm folder.
(File is inside the haxm folder)
When i am trying to install Android Emulator Hypervisor driver for AMD Processor its says installation failed. please help