Intel HAXM is required to run this AVD
Asked Answered
M

10

15

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?

Marplot answered 2/3, 2019 at 5:13 Comment(1)
U
18
  • Open File Explorer,
  • Go to C:\Users\ YourUserName \AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
  • Double click on haxm-7.6.5-setup File and Install

This worked for me

Also check hardware acceleration turned on in BIOS

Uniformitarian answered 31/5, 2022 at 9:11 Comment(3)
File not found. I have a dir Android\Sdk\extras\intel, but it's emptyNygaard
Please check hardware acceleration turned on in BIOSUniformitarian
Mohammed: yeah, BIOS hardware acceleration seems to be a key part of a complete answer to the question.Nygaard
D
7

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.

Desjardins answered 24/7, 2019 at 3:20 Comment(1)
Disable Hyper-V? Other answers say to enable it!?!?Nygaard
D
6

When Android Studio is open, click Configure on lower right corner, then select SDK Manager from the list. Head over to SDK Tools

Configure button on Android Studio

Look for Intel HAXM and make sure it's checked. If not, check the box and click apply.
And you are good to go.

Intel HAXM in SDK Tools

Make sure it is installed along with the Android Emulator. Then it should work.

Dekameter answered 2/3, 2019 at 5:17 Comment(3)
How to install it manually. I want to install the latest version 7.4.1 or the previous 7.3.0?Roof
This didn't work for me. Even after installing with this step, Android Studio kept telling me HAXM wasn't installed. After doing this step though, I was able to find "haxm-7.6.5-setup.exe" in "~\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager" and running that setup file fixed the issue.Supremacy
Fails with "Intel® HAXM installation failed. To install Intel® HAXM follow the instructions found at: github.com/intel/haxm/wiki/Installation-Instructions-on-Windows"Nygaard
G
5

Enabling

Hyper-V

or

Windows Hypervisor Platform

fixed the problem for me

Guinn answered 9/2, 2023 at 7:24 Comment(4)
Really? Other answers say to disable hyper-v!?!?Nygaard
@Nygaard : were you able to solve it? I cannot find any of the solution working here and dont have hyper-v in windows feature. I am running on i3 first genGamester
@yesarpit: I got it working yes. I think I did enable the hyper-v feature, but I'm I don't quite remember (there's often a fog about what I try and didn't try) and even if I did I don't know whether that helped at all. Eventually, I read the last dialog of the HAXM installer that said I needed to enable virtualization in the BIOS. After doing that (which was a hassle!) it started working. ... I think this may be one of those issues where there's no one answer. I think there are several things one must do to get the emulator/simulator/avd working. Good luck!!Nygaard
This worked although other answers told to disable Hyper-V but mine was already disabled. So turning that windows feature on fixed it.Pleura
C
3

Try install it manually. You will find the .exe setup here ~\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager

Charyl answered 10/3, 2022 at 13:16 Comment(0)
C
1

Run the setup file haxm-7.6.5-setup.exe, which is found in ~\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager.

Chincapin answered 14/7, 2021 at 18:33 Comment(0)
S
1

enter image description here

my case, just add this configuration

Saeger answered 28/12, 2022 at 15:29 Comment(0)
P
0

Enable Windows feature Hyper-V in Program and Features You problem will get solved

Pronominal answered 7/12, 2022 at 9:47 Comment(0)
N
0

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.

Nygaard answered 11/4, 2023 at 13:39 Comment(0)
I
0

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)

Insist answered 27/3 at 14:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.