I have installed Android Studio 3.3.1
and everything worked perfectly until I closed it. When I try to open a run again my project it says:
Intel HAXM is required to run this AVD
Unknown error, What should I do?
I have installed Android Studio 3.3.1
and everything worked perfectly until I closed it. When I try to open a run again my project it says:
Intel HAXM is required to run this AVD
Unknown error, What should I do?
This worked for me
Also check hardware acceleration turned on in BIOS
In my case, I installed software which is required to enable Hyper-V. If you also face it, check it.
On Window (I mean I config on Window, not Ubuntu or MacOsX), it's in "Turn Windows feature on or off"
. Uncheck Hyper-V and restart your computer.
When Android Studio is open, click Configure on lower right corner, then select SDK Manager from the list. Head over to SDK Tools
Look for Intel HAXM and make sure it's checked. If not, check the box and click apply.
And you are good to go.
Make sure it is installed along with the Android Emulator. Then it should work.
Enabling
Hyper-V
or
Windows Hypervisor Platform
fixed the problem for me
Try install it manually. You will find the .exe setup here ~\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
Run the setup file haxm-7.6.5-setup.exe
, which is found in ~\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
.
Enable Windows feature Hyper-V
in Program and Features You problem will get solved
This is pretty old question, but I got the error when trying to run an android emulator/simulator/avd (whatever it's called) after installing android studio 2022.1 on a clean windows 11 laptop.
First, why the heck does Android Studio require an optimization in order for the emulator to work? I would expect it to work regardless; maybe slower without the optimization. But that's neither here nor there. It is required and it's a PITA.
Other answers say you need to enable windows feature Hyper-V (or Windows Hypervisor Platform) and others say you need to disable it!! I don't think it matters. I tried it with and without and seems to have no effect -- either to fix the problem or to cause the problem once I did get it fixed.
But, maybe it does need to be enabled (or disabled) in some situations like older Android Studio or Windows 10 or other computers. So many, configurations.
Anyway, what I had to do was read the message at the end of HAXM installed :). Normally, the last message of an installer is super boring so I never read it. But, this one said I needed to enable virtualization in the BIOS. Doing that was a PITA, but it did fix the problem.
FWIW I installed HAXM 7.8.0 directly, not via Android Studio. But, it might work via AS too.
Go to turn windows feat on or off -> check enable in Hyper-V
This solution work with me
(remember that you have to install HAXM first)
© 2022 - 2024 — McMap. All rights reserved.