google / android-emulator-hypervisor-driver

Other
778 stars 252 forks source link

Android Studio Emulator Working Without Drivers #55

Open theahmadzai opened 3 years ago

theahmadzai commented 3 years ago

Installed Android Studio on my Ryzen 3600 (Virtualization enabled from bios) It gave me some error after installation that I need to install android emulator hypervisor driver for and processors and gave the link to this repository to download from, when I checked in my SDK Tools it was installed but gvm service was stopped and not working but still my emulator is working fine, what is the cause of it and does it have any performance penalty?

image image

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 2 years ago

that's because the driver is still installed because was not properly removed. You can see it with autoruns tool from microsoft sysinternals suite.

Because installing the driver from Android Studios's SDK manager is super buggy, I install the driver like this:

download the zip unzip open cmd with admin rights and run:

RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 .\gvm.Inf #nothing will show
sc stop gvm
sc start gvm
Gianguyen1234 commented 1 year ago

You can try this way, I fix it by turning on virtuallization on Bios: https://youtu.be/9LVazV4IJ_g