Inscription: I encountered this very troublesome bug as a beginner, and found that I checked the Internet and tried many methods, but it didn't work. Today I succeeded by mistake. So I plan to publish a blog to give some references to people who also have this problem.
Problem Description
Android studio cannot install Android Emulator Hypervisor Driver For AMD Processors normally, enter Android studio as an administrator to download the tools, not only the speed is very slow, but the download fails in the end.
The root of the problem is that Android studio does not support AMD R series processors as well as intel CPUs, and some errors may occur when configuring virtual machines.
Here is my solution
Step 1: First confirm that virtualization is enabled on the cpu page of the task manager
Open Task Manager ---> Performance, the column in the red circle is "Enabled", then the virtualization is successfully enabled
Step 2: Turn off hyper-V
Enter the command prompt in administrator mode, paste the following command, and press Enter to run
dism.exe / Online / Disable-Feature / FeatureName: Microsoft-Hyper-V-All
The second way is Control Panel—>Programs—>Turn Windows Features on or off, uncheck hyper-V, click OK, and then restart the computer.
Step 3: Set environment variables
Set the path for the system variable path
C:\windows\system32
Step 3: Download the corresponding package of tools for AMD
Install the new version of the package https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/releases under this link , find the extras file in the folder where the SDK is saved -> google file, in Unzip the downloaded compressed package under the google folder.
Step 4: Open Windows PowerShell as an administrator, then cd to the directory you just extracted, and then run the following command
.\silent_install.bat
The red underline shows RUNNING, which means the operation is successful
Postscript: It took me a whole day to solve this problem today, and I was really touched when I saw that there was no red error report o((>ω< ))o