Android Hypervisor for AMD installation failed - android-studio

I did everything from enabling SVM in BIOS, disabling Hyper-V, virtual machine platform, and hypervisor platform, I also tried enabling them still same error, virtualization on Task manager is also enabled, I don't use any antivirus and disabled windows defender, any help is appreciated, Thanks!

Related

Android Studio Virtual Device Required component missing problem

My computer is Lenovo Y510P and
supports hardware virtualization. Hardware virtualization is already enabled.
I have Docker installed on my computer. Kaspersky Total Security gives error that hardware virtualization is not supported.
So what I mean is this. My computer supports hardware virtualization, but it looks like hardware virtualization is turned off even though it is turned on.
I believe that the Virtual Device Unavailable error in the Android Studio installation could not be installed due to a different software used, although virtualization was turned on.
Could Docker and the Linux kernel be somehow causing hardware virtualization issues?
Unable to use hardware virtualization after Kaspersky Docker installation. I hope I was able to explain. My English is not good. I'm using google translate.

Intel HAXM doesn't run on AMD and I've turned off Hyper-V

Event Viewer says there are no Hyper-V operations, and they're off in services. I turned on SVM in BIOS, but still, it gives me an error that HAXM can't be installed because I either have Hyper-V on or SVM is off.
If you boot Windows with HyperV enabled, it will then permanently have exclusive access to hardware virtualization, regardless of any HyperV guests actually running. You need to entirely disable HyperV through the Windows Features function, reboot, and then you should be fine. It's a kinda weird quirk of HyperV.

Android Studio Quickboot/Snapshot not supported error?

I am Facing this error recently. Everything was fine i was learning android studio and suddenly out of nowhere this hit me up.
****Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.****
This error made me to delete my virtual device and create a new one. Then it became too slow to start and run the applications. I am running an i5 - 4570 with 8 gigs of ram and a NVIDIA GT 610. I have installed HAXM and virtualization is enabled.Please help me through this.
Kudos.
This error means that your CPU do not have right configuration the INTEL VTX technology in your PC.
Android recommend this steps:
https://developer.android.com/studio/run/device
Is more reliable in some cases use a physical device via USB instead of emulator.

Intel VT-x not available on Windows 10 so HAXM is not working for android

I have an Intel Core i5 6400 CPU installed on ASUS Z-170A mainboard. According to the documentation of my CPU, this CPU support Intel Virtualization Technology (VT-X). I have Windows 10 Pro on my PC and using Intel(R) Processor Identification Utility by Intel and it reports that my CPU does not support VT-X.
This caused so many problems such as I cannot install HAXM for Android on my CPU due to lack of VT-X. I should notice that I've enabled VT-x on my BIOS settings. I also checked that memory integrity is disabled in my windows defender settings.
To enable VT-x besides of enabling it in BIOS, uses should Disable Windows Defender Credential Guard as below:
Run gpedit.msc and then go to:
Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security
and select Disabled option.
Then run regedit and delete these keys if they are present in registery:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA\LsaCfgFlags
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceGuard\EnableVirtualizationBasedSecurity
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceGuard\RequirePlatformSecurityFeatures
Execute cmd as administrator and run below command to enable NX bit:
bcdedit.exe /set {current} nx AlwaysOn
For me, the magic part was this. run regedit and in folder:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
set Enabled to 0.
Here is the result:
P.S. Great thanks to Ulises2k for his/her answer at https://social.technet.microsoft.com/Forums/windows/en-US/8004c3bd-7d57-40ce-93de-0b1a6babd64c/how-i-can-disable-credential-guard?forum=win10itprovirt which helped me for part 4 of this answer.

How to use virtualization on guest VM (windows 8.1) in virtualbox which is on a virtualization enabled CPU running Windows 7?

I have a 16GB laptop running on Intel core i7 processor. I have Windows 7 Enterprises installed on this machine. Now, I need to do some work around the Windows 8.1 Pro and need to run the emulator on Windows 8.1 Pro.
So, I have installed the virtualbox on my machine and installed the Windows 8.1 Pro on a VM in virtualbox.
I have enabled the Virtualization on my machine using the BIOS settings, but it is not reflected in the Windows 8.1 VM. And I have to enable the Hyper-V Platform from windows features for running the emulator, but it is not possible until virtualization is reflected in Windows 8.1 VM as well.
So, please help me in achieving this.
What you are trying to achieve is called nested virtualization (i.e. the ability to run a virtual machine into another). Unfortunately, it seems that VirtualBox does not support nested virtualization. You can try other virtualization solutions that support this feature (like VMware Player).

Resources