Android studio: The virtual device cannot be enabled, HAXM cannot be downloaded, the download is unsuccessful, and virtualization support is disabled

I just downloaded Android Studio and wanted to enable the virtual device, but found that it could not be opened.

That is to say, there was no electronic mobile phone.

After searching around, I found that HAXM was not downloaded.

Please add image description

Click on SDK Manager, in the new interface, click on SDK Tools, check HAXM and let him download it

Please add image description

After clicking OK, this thing cannot be installed and an error is reported.

According to the guidance of the boss, in the control panel and programs, I found something to manage the activation of windows.
Please add image description
Please add image description

Click the plus sign to discover

Please add image description

My Hyper-V platform is gray, and the prompt below shows that virtualization support in the firmware is disabled .

To turn on the virtualization, you need to enter the BIOS and turn on the virtualization.

I have an HP laptop. After restarting, when the computer screen lights up, I press esc to enter the BIOS.

Then press F10 on the page that comes in.

Select Security – System Security by moving the ← → key on your keyboard.

Then replace the virtual disable with enable. When switching values, you need to press F6 or F5. There are key instructions below.

Then save and boot.

Open Android Studio again, hook up HAXM again, let the system download it, and then the Successful prompt will appear.

At this time, start the virtual device and you will have an electronic phone.
Please add image description

Guess you like

Origin blog.csdn.net/weixin_43667105/article/details/129934047