Install haxm android studio ошибка

I installed Android Studio and I had no problems with that. However, when I tried to run the emulator, it said that Intel HAXM was not installed. So I found the installer, ran it, and it even thou...

Alright, so I did everything I could possibly find online, and nothing worked.

So I went to the Intel website, and I downloaded the HAXM installer that they provide (instead of using the one downloaded through Android Studio).

The installation actually went through with this installer and it was installed successfully. Then I open Android Studio, and the emulator finally loaded!

So, for anyone else having this problem, just download the installer directly from the Intel website.

Here’s the link:

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

S.S. Anne's user avatar

S.S. Anne

14.9k8 gold badges36 silver badges73 bronze badges

answered Feb 9, 2015 at 23:22

Felipe's user avatar

FelipeFelipe

5,0865 gold badges18 silver badges21 bronze badges

10

I think your problem was that you thought that the installer in Android SDK Manager would actually INSTALL the Intel HAXM. But the hook is that it WILL NOT INSTALL it. What it does is extracts the files needed for (really) install Intel HAXM.

I found that out when I got the same problem and then read this in Intel’s web page:

Downloading through Android* SDK Manager

… Other steps …

5) The SDK Manager will download the installer to the «extras» directory, under the main SDK directory. Even though the SDK manager says «Installed» it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the «extras» directory to get it installed.

6) Run the installer inside the /sdk/extras/intel/Hardware_Accelerated_Execution_Manager/ directory and follow the installation instructions for your platform.

So all I needed to do was go to folder where my Android SDK was, opened that folder (sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager) and run the silent_install.bat.

After this when I launched my emulator, it said this:

HAXM is working and emulator runs fast virt mode

and everything works as should!

You can also use some useful parameters with silent_install.bat:

  • -v Print HAXM version
  • -c Check VT/NX capability of the platform
  • -h Print usage

Shashank Agrawal's user avatar

answered Apr 28, 2016 at 7:41

vilpe89's user avatar

vilpe89vilpe89

4,6151 gold badge28 silver badges36 bronze badges

1

Make sure the emulator is not running while installing HAXM. Otherwise, there will be an error which you only see when using the standalone installer but not within Android Studio or IntelliJ Idea.

answered Jan 2, 2019 at 17:27

lucidbrot's user avatar

lucidbrotlucidbrot

5,1233 gold badges37 silver badges65 bronze badges

2

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

or

bcdedit /set hypervisorlaunchtype off

Other things you may need to do:

  • If using Avast? disable Enable hardware-assisted virtualization under: Settings > Troubleshooting
  • bcdedit /set nx AlwaysOn
  • sfc /scannow and reboot

Important: After anything you try, Restart the PC and try to run the HAXM installation again

Shashank Agrawal's user avatar

answered Feb 9, 2015 at 22:10

codecats's user avatar

codecatscodecats

1,6751 gold badge12 silver badges9 bronze badges

5

I faced this problem.I got the solution too.It will work.

Step 1: Go to your BIOS settings and check that INTERNET VIRTUAL TECHNOLOGY is Enabled or Disabled.

And make sure HYPER V is disabled.
To disable it :
a)Go to Control Panel
b)Click on Programs(Uninstall a Program)
c)Then click on Turn Windows features on or off , then look for HYPER-V and untick it. And Restart.
If disabled then enable it.

Step 2: Try to install Intel HAXM now and restart. If It shows same problem again.
go to Step 3.

Step 3: You have to disable Digitally Signed Enforcement. To disable it permanently you have to make sure that Secure Boot option is disabled in your system.

How to check ?

Answer is given in the following link. I found it in Internet.[Thanks whoever made that blog]

link : http://www.windowspasswordsrecovery.com/win8-tips/how-to-disable-uefi-secure-boot-in-windows-8-1-8.html

Step 4: Now restart again.

To disable driver signature enforcement permanently in Windows 10, you need to do the following:

1.Open an elevated command prompt instance.
2.Type/paste the following text:

     `bcdedit.exe /set nointegritychecks on`

or Windows 10

     `bcedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS`

Windows 10 disable driver signature enforcement

Restart Windows 10.

*If you somehow want to enable it again:

1.Type/paste the following text:

     `bcdedit.exe /set nointegritychecks off`

answered Aug 27, 2016 at 15:16

Shankhadeep Ghosal's user avatar

0

<==||=====>For me who have an AMD Processor:<=====||==>

1. Click on the windows button in the bottom left hand corner


2. Look for Enable/Disable Windows features

( Just type : «windows features», it will appear)

3. And contrary to the other posts here, enable Hyper-V and Windows Hypervisor Platform

Thanks.

answered Apr 20, 2020 at 20:27

Julien J's user avatar

Julien JJulien J

2,3002 gold badges23 silver badges27 bronze badges

2

I probably tried all the solutions mentioned above but all in vain.
To summarize, I did:

  • I enable the virtualization going to BIOS setting.

enter image description here

  • Uncheck Hyper-V option by going to Turn Windows features on or off.

enter image description here

  • Download HAXM directly from the website https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager and install it.

  • Uninstall and reinstall Android Studio.

  • Copy the HAXM from my another system where HAXM was working fine, from the location C:UsersUserNameAppDataLocalAndroidSdkextrasintel

Nothing worked for me.
What worked for me:
I noticed the issue «unable to run mksdcard sdk tool» when I try to download SDK platform.So after some research, I found some SDK tools such as mksdcard.exe require Microsoft Visual C++ runtime 2015-2019. So based on my system type,(for me it was x64) I downloaded the latest Microsoft Visual C++ Redistributable for Visual Studio 2019 from the link https://visualstudio.microsoft.com/downloads/.
Detailed answer given here:
Android Studio install failed — unable to run mksdcard sdk tool in Windows

enter image description here

enter image description here

After downloading and installing Visual C++ ,the error «unable to run mksdcard sdk tool» was fixed, also when I try to install HAXM after this, it was install successfully. Everything was fine. I was also able to create AVD now(which was also a problem when HAXM was not install).

answered Dec 12, 2019 at 10:52

shaby's user avatar

shabyshaby

1,3011 gold badge15 silver badges17 bronze badges

3

How I solved this problem:

Step-1: Downloaded the Android Studio and installed it. But it failed to install HAXM.

Step-2: Then ran the AVD. Then it prompts to create a virtual device. But it also failed.

Step-3: I downloaded the latest HAXM from intel’s GitHub source. From here github.com/intel/haxm/releases/latest

Step-4: Then installed HAXM manually. Documentation is here: Installing Standalone Intel HAXM on Windows

Step-5: Then again tried to create a virtual device of Pie. It successfully created it.

But if your Step-5 fails anyhow, there may another solution: When downloading the .zip file, it will show you the SDK path and also the source path of the .zip file. So you can manually download the .zip and can place it to the SDK path folder. Then again can try to create the virtual device.

answered Oct 12, 2019 at 22:46

Motahar Hossain's user avatar

0

This is what worked for me —

  1. Enable Virtualiztion through BIOS (F10-> System Configuration -> Virtualiztion Technology)
    Depending on your hardware, firmware and BIOS configuration utility the option to enable may be named something else or steps may differ.
    There is a free software called «Piriform Speccy» which gives information about your machine, which among other things can also be used to check if virtualization is enabled or not on your machine (see screen cap).

Check if virtualization enabled with Speccy

  1. Download HAXM intaller from Intel site. https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

  2. If using avast, disable «Enable hardware-assisted virtualization» under: Settings > Troubleshooting by unchecking.

Do a hard boot (power button) just to be safe.

answered Jan 9, 2016 at 19:11

somshivam's user avatar

somshivamsomshivam

7597 silver badges19 bronze badges

Download HAXM form this link download HAXM .Unzip it and you will see a msi installer file and install it.Then you will see no longer HAXM is not installed while creating your emulator.

answered Apr 14, 2021 at 12:06

Saddan's user avatar

SaddanSaddan

1,46817 silver badges18 bronze badges

  1. Install Intel HAXM from Github.
  2. It requires you to Disable the Hyper-V technology. To disable it follow instructions from Microsoft website.
    You are Good To Go Now.

answered May 2, 2021 at 7:27

Y Sachdeva's user avatar

For HP Ultra book with windows 7 enabling hyper-v through bios worked for intel haxm problem.

For enabling hyper-v:-

F10-> Bios advanced setting-> device configurations->enable Hyper-V then install.

It will work.

answered Jun 27, 2015 at 21:12

Deepak Dongre's user avatar

I’ve figured out.
Try to disable Security Boot Control in BIOS options: http://remontka.pro/secure-boot-disable/ (sorry for russian examples)
Or try to start system without Digital signature (only for one loading).
I had had many unlucky attempts with ‘HAXM installer, before I disabled this line.
At the beginning I thought that’s because Windows 10 Home was installed, and there’re many limits.

answered Aug 18, 2016 at 22:13

Vladimir's user avatar

0

If Nothing Helps then it means Device Guard and Credential Guard are using the virtualization. I had to disable them by downloading and running the following script from microsoft site.

DG_Readiness_Tool_v3.5.ps1 -Disable

You may need to run this first if it doesn’t allow to run the command

Set-ExecutionPolicy Unrestricted

Once you do it, you need to restart and confirm disable both when asked just before boot.

hope it helps!

answered Jun 17, 2018 at 18:41

Anup Sharma's user avatar

Anup SharmaAnup Sharma

2,02520 silver badges30 bronze badges

Note: this is not an answer because I could not find a solution. But I think the information may be useful for others (and it wouldn’t be practical as a comment).
I have tried all of the steps detailed in the various docs but I could not get Android Emulator to work on my AMD Ryzen 7 :(


Most answers work only for Intel CPUs.
If you have an AMD CPU (like me, an AMD Ryzen 7) you need to know about some restrictions and you have to use WHPX instead of HAXM.

I found this on MS’s site: Because the Android emulator currently supports AMD hardware acceleration only on Linux, hardware acceleration is not available for AMD-based computers running Windows.

Fortunatelly there is a way to make it work but configuring hardware acceleration for an AMD CPU is a bit more complex:

Requirements and recommendations:
— AMD CPU recommendation: AMD Ryzen CPU
— Android Studio 3.2 Beta 1 or higher
— Android Emulator version 27.3.8 or higher
— Windows 10 with April 2018 Update or higher

To use WHPX acceleration on Windows, you must enable the Windows
Hypervisor Platform option in the Turn Windows features on or off
dialog box. For changes to this option to take effect, restart your
computer.

Additionally, the following changes must be made in the BIOS settings:
— AMD CPU: Virtualization or SVM must be enabled.

Note that there are further restrictions as well:

  • You can’t run a VM-accelerated emulator inside another VM, such as a VM hosted by VirtualBox, VMWare, or Docker. You must run the emulator
    directly on your system hardware.
  • You can’t run software that uses another virtualization technology at the same time that you run the accelerated emulator. For example,
    VirtualBox, VMWare, and Docker currently use a different
    virtualization technology, so you can’t run them at the same time as
    the accelerated emulator.

Some more info: Android Emulator — AMD Processor & Hyper-V Support

This recommendation did not help either:

Please note: More recent versions of the emulator (27.2.8, 27.3.0, or
later), require an emulator flag while the feature is in the preview.
To do this, create or edit the file
C:Users.androidadvancedFeatures.ini and add the
line “WindowsHypervisorPlatform = on”, or start the emulator from the
command line with “-feature WindowsHypervisorPlatform”.

For me who has an AMD Processor:

  1. Click on the windows button in the bottom left hand corner

  2. Look for Enable/Disable Windows features (just type : «windows features», it will appear)

  3. And contrary to the other posts here, enable Hyper-V and Windows Hypervisor Platform

Eric Aya's user avatar

Eric Aya

69.1k35 gold badges179 silver badges250 bronze badges

answered Aug 20, 2020 at 10:28

1

THE SHORT ANSWER:

Disable Microsoft Defender Application Guard

None of the answers helped me. Also, most of the answers here were addressed elsewhere online. I spent hours trying to solve this problem. After much hesitation, I decided to go on a hunch. I was suspicious about msinfo32.exe showing a Hypervisor was running, but it would not provide additional detail. I went into the services manager. I saw an instance of a hypervisor service was running, I went to disable it. Before disabling, I was asked if I am sure and was informed that a couple of other services would stop. One of the other services was Microsoft Defender Application Guard for Internet Explorer. I disabled this and FINALLY after hours of research on this topic was able to install Intel HAXM for Android Studio on my i5-4430 with Z87 chipset.

It was not enough to merely disable Hyper V and Windows Hypervisor Platform.

answered Jan 30, 2021 at 4:21

Charles's user avatar

CharlesCharles

3123 silver badges7 bronze badges

It should prompt you to install HAXM when creating a new virtual device:

Tools > Android > AVD Manager

It will install through Android Studio automatically.

answered Jan 11, 2016 at 11:53

Mark Tickner's user avatar

Mark TicknerMark Tickner

1,0132 gold badges15 silver badges26 bronze badges

If you are using windows then edit your AVD config to ARMEABI image instead of X86, Also using ARM will give better performance. HAXM installer is required only if you use X86 image.

answered Feb 19, 2016 at 12:23

Ankur Kumar's user avatar

I think that you would install Android SDK files not in (your PC)AppdataLocalAndroidsdk (default Path). Also there was nothing when you double click ‘intelhaxm-android.exe’ file.

If it was, Browse (your PC)AppdataLocalTempintelHAXM6.0.3(yyyy-mm-dd_hh_mm_ss) (or silent), then you must see ‘hax64’ (or hax) file, and simply invoke this file.

answered Jul 8, 2016 at 11:31

Dev_Jun's user avatar

Good description here: https://developer.android.com/studio/run/emulator-acceleration.html

You may check current HAXM status with following command:

sc query intelhaxm

If you use Windows 10 Home, all issues about Hyper-V is irrelevant for you as it is not supported (Pro is required) and you will not have conflicts :)

Remark: trying to update HAXM to latest version incidentally removed it, but then can’t update with SDK manager, as it shows that latest version 6.1.1 is unsupported for Windows (seems configuration is broken, found 6.1.1 for Mac and 6.0.6 for Windows only inside)
So would recommend manually download HAXM and install as described:
copy to sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager and run the silent_install.bat

answered Apr 24, 2017 at 16:22

Alex C's user avatar

After some trials, knowing that I had all the factors stated in this thread and other threads properly configured, I still got this error in Android Studio.

Even after installing externally, it seems Android Studio could not discover that HAXM is already installed, unless it gets to install it itself.

As a solution that worked for me, under UserAppDataLocalAndroidsdkextrasintelHardware_Accelerated_Execution_Manager which android has downloaded when attempting to install HAXM, click the installer and uninstall the software, then re-try from Android Studio to install it, it should work now.

answered Mar 16, 2020 at 10:27

KAD's user avatar

KADKAD

10.8k4 gold badges29 silver badges70 bronze badges

I tried the following:
1. Directly installed HAXM from Intel
2. Tried multiple times to un-install and re-install Android Studio with same default paths in C drive.
3. Un-install various other software including QEMU which also uses HAXM, which might have been interfering with Android recognizing HAXM.

Solution was:
1. To un-install Android Studio and install it on D drive including the SDK. This solved the problem.

answered May 1, 2020 at 15:08

sateesh12's user avatar

I installed Android Chipmunk 2021.2.1 and tried to install HAXM through the SDK manager. It failed first because I was running an emulator. However, one other thing I noticed is that when you first run the installer, it creates the folder for the HAXM install. Then, when the memory allocation dialog pops up, it tries to create the folder again. Since the folder already exists, it appends a «2» on the end of a new one. What I did is watched the install folder and when it creates the folder the first time I deleted it before continuing. I then continued with the install and it created the folder again and completed successfully. It seems there is a bug in the new SDK installer for HAXM

answered May 18, 2022 at 15:54

steveareeno's user avatar

steveareenosteveareeno

1,9155 gold badges39 silver badges56 bronze badges

If you are using windows, Hyper-V works via AMD not HAXM.

Try the following: on Android, Click SDK Manager ==>SDK Platforms ==> Show Packages ==>ARM EABI v7a Systems Image.

After downloading the systems image, go to the AVD Manager ==> Create Virtual Device ==> choose device (e.g. 5.4 FWVGA») ==> Marshmallow armeabi v7a Android6 with Google APIs ==> Change the AVD name to anything (eg. myfirst)==> click finish.

Jonas Czech's user avatar

Jonas Czech

11.9k6 gold badges44 silver badges65 bronze badges

answered Feb 26, 2016 at 18:02

kade 's user avatar

If you have all gone through this and it still doesn’t work and «systeminfo.exe» shows hypervisor is detected then disable Containers in Windows Features. After that all went well.

answered Jan 8, 2020 at 21:51

Andreas Krohn's user avatar

None of the suggestions worked on their own.

Here is what worked for me:
chmod -R 777 $ANDROID_HOME

Then try to install it via android studio -> sdk manager. If its not there, reinstall latest version of Android studio over your current installation. HAXM will show up in SDK manager after that.

If you do not have ANDROID_HOME set, then YOU are part of the problem.
The value of it can be found inside Android Studio project structure. On MAC, just type CMD ; and look at SDK Location on left.

Simply run chmod -R 775

answered Mar 2, 2020 at 19:02

ahsan.dev's user avatar

ahsan.devahsan.dev

6891 gold badge5 silver badges10 bronze badges

2

Alright, so I did everything I could possibly find online, and nothing worked.

So I went to the Intel website, and I downloaded the HAXM installer that they provide (instead of using the one downloaded through Android Studio).

The installation actually went through with this installer and it was installed successfully. Then I open Android Studio, and the emulator finally loaded!

So, for anyone else having this problem, just download the installer directly from the Intel website.

Here’s the link:

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

S.S. Anne's user avatar

S.S. Anne

14.9k8 gold badges36 silver badges73 bronze badges

answered Feb 9, 2015 at 23:22

Felipe's user avatar

FelipeFelipe

5,0865 gold badges18 silver badges21 bronze badges

10

I think your problem was that you thought that the installer in Android SDK Manager would actually INSTALL the Intel HAXM. But the hook is that it WILL NOT INSTALL it. What it does is extracts the files needed for (really) install Intel HAXM.

I found that out when I got the same problem and then read this in Intel’s web page:

Downloading through Android* SDK Manager

… Other steps …

5) The SDK Manager will download the installer to the «extras» directory, under the main SDK directory. Even though the SDK manager says «Installed» it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the «extras» directory to get it installed.

6) Run the installer inside the /sdk/extras/intel/Hardware_Accelerated_Execution_Manager/ directory and follow the installation instructions for your platform.

So all I needed to do was go to folder where my Android SDK was, opened that folder (sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager) and run the silent_install.bat.

After this when I launched my emulator, it said this:

HAXM is working and emulator runs fast virt mode

and everything works as should!

You can also use some useful parameters with silent_install.bat:

  • -v Print HAXM version
  • -c Check VT/NX capability of the platform
  • -h Print usage

Shashank Agrawal's user avatar

answered Apr 28, 2016 at 7:41

vilpe89's user avatar

vilpe89vilpe89

4,6151 gold badge28 silver badges36 bronze badges

1

Make sure the emulator is not running while installing HAXM. Otherwise, there will be an error which you only see when using the standalone installer but not within Android Studio or IntelliJ Idea.

answered Jan 2, 2019 at 17:27

lucidbrot's user avatar

lucidbrotlucidbrot

5,1233 gold badges37 silver badges65 bronze badges

2

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

or

bcdedit /set hypervisorlaunchtype off

Other things you may need to do:

  • If using Avast? disable Enable hardware-assisted virtualization under: Settings > Troubleshooting
  • bcdedit /set nx AlwaysOn
  • sfc /scannow and reboot

Important: After anything you try, Restart the PC and try to run the HAXM installation again

Shashank Agrawal's user avatar

answered Feb 9, 2015 at 22:10

codecats's user avatar

codecatscodecats

1,6751 gold badge12 silver badges9 bronze badges

5

I faced this problem.I got the solution too.It will work.

Step 1: Go to your BIOS settings and check that INTERNET VIRTUAL TECHNOLOGY is Enabled or Disabled.

And make sure HYPER V is disabled.
To disable it :
a)Go to Control Panel
b)Click on Programs(Uninstall a Program)
c)Then click on Turn Windows features on or off , then look for HYPER-V and untick it. And Restart.
If disabled then enable it.

Step 2: Try to install Intel HAXM now and restart. If It shows same problem again.
go to Step 3.

Step 3: You have to disable Digitally Signed Enforcement. To disable it permanently you have to make sure that Secure Boot option is disabled in your system.

How to check ?

Answer is given in the following link. I found it in Internet.[Thanks whoever made that blog]

link : http://www.windowspasswordsrecovery.com/win8-tips/how-to-disable-uefi-secure-boot-in-windows-8-1-8.html

Step 4: Now restart again.

To disable driver signature enforcement permanently in Windows 10, you need to do the following:

1.Open an elevated command prompt instance.
2.Type/paste the following text:

     `bcdedit.exe /set nointegritychecks on`

or Windows 10

     `bcedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS`

Windows 10 disable driver signature enforcement

Restart Windows 10.

*If you somehow want to enable it again:

1.Type/paste the following text:

     `bcdedit.exe /set nointegritychecks off`

answered Aug 27, 2016 at 15:16

Shankhadeep Ghosal's user avatar

0

<==||=====>For me who have an AMD Processor:<=====||==>

1. Click on the windows button in the bottom left hand corner


2. Look for Enable/Disable Windows features

( Just type : «windows features», it will appear)

3. And contrary to the other posts here, enable Hyper-V and Windows Hypervisor Platform

Thanks.

answered Apr 20, 2020 at 20:27

Julien J's user avatar

Julien JJulien J

2,3002 gold badges23 silver badges27 bronze badges

2

I probably tried all the solutions mentioned above but all in vain.
To summarize, I did:

  • I enable the virtualization going to BIOS setting.

enter image description here

  • Uncheck Hyper-V option by going to Turn Windows features on or off.

enter image description here

  • Download HAXM directly from the website https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager and install it.

  • Uninstall and reinstall Android Studio.

  • Copy the HAXM from my another system where HAXM was working fine, from the location C:UsersUserNameAppDataLocalAndroidSdkextrasintel

Nothing worked for me.
What worked for me:
I noticed the issue «unable to run mksdcard sdk tool» when I try to download SDK platform.So after some research, I found some SDK tools such as mksdcard.exe require Microsoft Visual C++ runtime 2015-2019. So based on my system type,(for me it was x64) I downloaded the latest Microsoft Visual C++ Redistributable for Visual Studio 2019 from the link https://visualstudio.microsoft.com/downloads/.
Detailed answer given here:
Android Studio install failed — unable to run mksdcard sdk tool in Windows

enter image description here

enter image description here

After downloading and installing Visual C++ ,the error «unable to run mksdcard sdk tool» was fixed, also when I try to install HAXM after this, it was install successfully. Everything was fine. I was also able to create AVD now(which was also a problem when HAXM was not install).

answered Dec 12, 2019 at 10:52

shaby's user avatar

shabyshaby

1,3011 gold badge15 silver badges17 bronze badges

3

How I solved this problem:

Step-1: Downloaded the Android Studio and installed it. But it failed to install HAXM.

Step-2: Then ran the AVD. Then it prompts to create a virtual device. But it also failed.

Step-3: I downloaded the latest HAXM from intel’s GitHub source. From here github.com/intel/haxm/releases/latest

Step-4: Then installed HAXM manually. Documentation is here: Installing Standalone Intel HAXM on Windows

Step-5: Then again tried to create a virtual device of Pie. It successfully created it.

But if your Step-5 fails anyhow, there may another solution: When downloading the .zip file, it will show you the SDK path and also the source path of the .zip file. So you can manually download the .zip and can place it to the SDK path folder. Then again can try to create the virtual device.

answered Oct 12, 2019 at 22:46

Motahar Hossain's user avatar

0

This is what worked for me —

  1. Enable Virtualiztion through BIOS (F10-> System Configuration -> Virtualiztion Technology)
    Depending on your hardware, firmware and BIOS configuration utility the option to enable may be named something else or steps may differ.
    There is a free software called «Piriform Speccy» which gives information about your machine, which among other things can also be used to check if virtualization is enabled or not on your machine (see screen cap).

Check if virtualization enabled with Speccy

  1. Download HAXM intaller from Intel site. https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

  2. If using avast, disable «Enable hardware-assisted virtualization» under: Settings > Troubleshooting by unchecking.

Do a hard boot (power button) just to be safe.

answered Jan 9, 2016 at 19:11

somshivam's user avatar

somshivamsomshivam

7597 silver badges19 bronze badges

Download HAXM form this link download HAXM .Unzip it and you will see a msi installer file and install it.Then you will see no longer HAXM is not installed while creating your emulator.

answered Apr 14, 2021 at 12:06

Saddan's user avatar

SaddanSaddan

1,46817 silver badges18 bronze badges

  1. Install Intel HAXM from Github.
  2. It requires you to Disable the Hyper-V technology. To disable it follow instructions from Microsoft website.
    You are Good To Go Now.

answered May 2, 2021 at 7:27

Y Sachdeva's user avatar

For HP Ultra book with windows 7 enabling hyper-v through bios worked for intel haxm problem.

For enabling hyper-v:-

F10-> Bios advanced setting-> device configurations->enable Hyper-V then install.

It will work.

answered Jun 27, 2015 at 21:12

Deepak Dongre's user avatar

I’ve figured out.
Try to disable Security Boot Control in BIOS options: http://remontka.pro/secure-boot-disable/ (sorry for russian examples)
Or try to start system without Digital signature (only for one loading).
I had had many unlucky attempts with ‘HAXM installer, before I disabled this line.
At the beginning I thought that’s because Windows 10 Home was installed, and there’re many limits.

answered Aug 18, 2016 at 22:13

Vladimir's user avatar

0

If Nothing Helps then it means Device Guard and Credential Guard are using the virtualization. I had to disable them by downloading and running the following script from microsoft site.

DG_Readiness_Tool_v3.5.ps1 -Disable

You may need to run this first if it doesn’t allow to run the command

Set-ExecutionPolicy Unrestricted

Once you do it, you need to restart and confirm disable both when asked just before boot.

hope it helps!

answered Jun 17, 2018 at 18:41

Anup Sharma's user avatar

Anup SharmaAnup Sharma

2,02520 silver badges30 bronze badges

Note: this is not an answer because I could not find a solution. But I think the information may be useful for others (and it wouldn’t be practical as a comment).
I have tried all of the steps detailed in the various docs but I could not get Android Emulator to work on my AMD Ryzen 7 :(


Most answers work only for Intel CPUs.
If you have an AMD CPU (like me, an AMD Ryzen 7) you need to know about some restrictions and you have to use WHPX instead of HAXM.

I found this on MS’s site: Because the Android emulator currently supports AMD hardware acceleration only on Linux, hardware acceleration is not available for AMD-based computers running Windows.

Fortunatelly there is a way to make it work but configuring hardware acceleration for an AMD CPU is a bit more complex:

Requirements and recommendations:
— AMD CPU recommendation: AMD Ryzen CPU
— Android Studio 3.2 Beta 1 or higher
— Android Emulator version 27.3.8 or higher
— Windows 10 with April 2018 Update or higher

To use WHPX acceleration on Windows, you must enable the Windows
Hypervisor Platform option in the Turn Windows features on or off
dialog box. For changes to this option to take effect, restart your
computer.

Additionally, the following changes must be made in the BIOS settings:
— AMD CPU: Virtualization or SVM must be enabled.

Note that there are further restrictions as well:

  • You can’t run a VM-accelerated emulator inside another VM, such as a VM hosted by VirtualBox, VMWare, or Docker. You must run the emulator
    directly on your system hardware.
  • You can’t run software that uses another virtualization technology at the same time that you run the accelerated emulator. For example,
    VirtualBox, VMWare, and Docker currently use a different
    virtualization technology, so you can’t run them at the same time as
    the accelerated emulator.

Some more info: Android Emulator — AMD Processor & Hyper-V Support

This recommendation did not help either:

Please note: More recent versions of the emulator (27.2.8, 27.3.0, or
later), require an emulator flag while the feature is in the preview.
To do this, create or edit the file
C:Users.androidadvancedFeatures.ini and add the
line “WindowsHypervisorPlatform = on”, or start the emulator from the
command line with “-feature WindowsHypervisorPlatform”.

For me who has an AMD Processor:

  1. Click on the windows button in the bottom left hand corner

  2. Look for Enable/Disable Windows features (just type : «windows features», it will appear)

  3. And contrary to the other posts here, enable Hyper-V and Windows Hypervisor Platform

Eric Aya's user avatar

Eric Aya

69.1k35 gold badges179 silver badges250 bronze badges

answered Aug 20, 2020 at 10:28

1

THE SHORT ANSWER:

Disable Microsoft Defender Application Guard

None of the answers helped me. Also, most of the answers here were addressed elsewhere online. I spent hours trying to solve this problem. After much hesitation, I decided to go on a hunch. I was suspicious about msinfo32.exe showing a Hypervisor was running, but it would not provide additional detail. I went into the services manager. I saw an instance of a hypervisor service was running, I went to disable it. Before disabling, I was asked if I am sure and was informed that a couple of other services would stop. One of the other services was Microsoft Defender Application Guard for Internet Explorer. I disabled this and FINALLY after hours of research on this topic was able to install Intel HAXM for Android Studio on my i5-4430 with Z87 chipset.

It was not enough to merely disable Hyper V and Windows Hypervisor Platform.

answered Jan 30, 2021 at 4:21

Charles's user avatar

CharlesCharles

3123 silver badges7 bronze badges

It should prompt you to install HAXM when creating a new virtual device:

Tools > Android > AVD Manager

It will install through Android Studio automatically.

answered Jan 11, 2016 at 11:53

Mark Tickner's user avatar

Mark TicknerMark Tickner

1,0132 gold badges15 silver badges26 bronze badges

If you are using windows then edit your AVD config to ARMEABI image instead of X86, Also using ARM will give better performance. HAXM installer is required only if you use X86 image.

answered Feb 19, 2016 at 12:23

Ankur Kumar's user avatar

I think that you would install Android SDK files not in (your PC)AppdataLocalAndroidsdk (default Path). Also there was nothing when you double click ‘intelhaxm-android.exe’ file.

If it was, Browse (your PC)AppdataLocalTempintelHAXM6.0.3(yyyy-mm-dd_hh_mm_ss) (or silent), then you must see ‘hax64’ (or hax) file, and simply invoke this file.

answered Jul 8, 2016 at 11:31

Dev_Jun's user avatar

Good description here: https://developer.android.com/studio/run/emulator-acceleration.html

You may check current HAXM status with following command:

sc query intelhaxm

If you use Windows 10 Home, all issues about Hyper-V is irrelevant for you as it is not supported (Pro is required) and you will not have conflicts :)

Remark: trying to update HAXM to latest version incidentally removed it, but then can’t update with SDK manager, as it shows that latest version 6.1.1 is unsupported for Windows (seems configuration is broken, found 6.1.1 for Mac and 6.0.6 for Windows only inside)
So would recommend manually download HAXM and install as described:
copy to sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager and run the silent_install.bat

answered Apr 24, 2017 at 16:22

Alex C's user avatar

After some trials, knowing that I had all the factors stated in this thread and other threads properly configured, I still got this error in Android Studio.

Even after installing externally, it seems Android Studio could not discover that HAXM is already installed, unless it gets to install it itself.

As a solution that worked for me, under UserAppDataLocalAndroidsdkextrasintelHardware_Accelerated_Execution_Manager which android has downloaded when attempting to install HAXM, click the installer and uninstall the software, then re-try from Android Studio to install it, it should work now.

answered Mar 16, 2020 at 10:27

KAD's user avatar

KADKAD

10.8k4 gold badges29 silver badges70 bronze badges

I tried the following:
1. Directly installed HAXM from Intel
2. Tried multiple times to un-install and re-install Android Studio with same default paths in C drive.
3. Un-install various other software including QEMU which also uses HAXM, which might have been interfering with Android recognizing HAXM.

Solution was:
1. To un-install Android Studio and install it on D drive including the SDK. This solved the problem.

answered May 1, 2020 at 15:08

sateesh12's user avatar

I installed Android Chipmunk 2021.2.1 and tried to install HAXM through the SDK manager. It failed first because I was running an emulator. However, one other thing I noticed is that when you first run the installer, it creates the folder for the HAXM install. Then, when the memory allocation dialog pops up, it tries to create the folder again. Since the folder already exists, it appends a «2» on the end of a new one. What I did is watched the install folder and when it creates the folder the first time I deleted it before continuing. I then continued with the install and it created the folder again and completed successfully. It seems there is a bug in the new SDK installer for HAXM

answered May 18, 2022 at 15:54

steveareeno's user avatar

steveareenosteveareeno

1,9155 gold badges39 silver badges56 bronze badges

If you are using windows, Hyper-V works via AMD not HAXM.

Try the following: on Android, Click SDK Manager ==>SDK Platforms ==> Show Packages ==>ARM EABI v7a Systems Image.

After downloading the systems image, go to the AVD Manager ==> Create Virtual Device ==> choose device (e.g. 5.4 FWVGA») ==> Marshmallow armeabi v7a Android6 with Google APIs ==> Change the AVD name to anything (eg. myfirst)==> click finish.

Jonas Czech's user avatar

Jonas Czech

11.9k6 gold badges44 silver badges65 bronze badges

answered Feb 26, 2016 at 18:02

kade 's user avatar

If you have all gone through this and it still doesn’t work and «systeminfo.exe» shows hypervisor is detected then disable Containers in Windows Features. After that all went well.

answered Jan 8, 2020 at 21:51

Andreas Krohn's user avatar

None of the suggestions worked on their own.

Here is what worked for me:
chmod -R 777 $ANDROID_HOME

Then try to install it via android studio -> sdk manager. If its not there, reinstall latest version of Android studio over your current installation. HAXM will show up in SDK manager after that.

If you do not have ANDROID_HOME set, then YOU are part of the problem.
The value of it can be found inside Android Studio project structure. On MAC, just type CMD ; and look at SDK Location on left.

Simply run chmod -R 775

answered Mar 2, 2020 at 19:02

ahsan.dev's user avatar

ahsan.devahsan.dev

6891 gold badge5 silver badges10 bronze badges

2

HAXM Installation Failed is a very common error that occurs when installing Android Studio. This guide explains what is Intel HAXM and how to install Intel HAXM. We will also look at various issues that may result in HAXM installation failed error and how to solve them.

Table of Contents

  • What is Intel HAXM
  • Why HAXM Installation Fails
    • Android emulator is already running
    • The processor is not Intel-based
    • OS Not supported
    • Disable the Hyper-V Manager
      • Hyper-V might not be disabled
    • Virtualization is disabled in Bios
    • PC Does not support Virtualisation
    • Antivirus interferes with HAXM Installation
  • How to Install HAXM
    • Installing from Android SDK Manager
    • Direct Download & Install
    • Check if Intel HAXM Can be installed
  • Check if HAXM is installed
  • Reference
  • Summary

What is Intel HAXM

The HAXM stands for Hardware Accelerated Execution Manager. It is a cross-platform hardware-assisted virtualization engine (hypervisor), The Android Emulator use HAXM in intel platforms to speedup & improve performance

Why HAXM Installation Fails

The Android Studio Installs Intel HAXM when you install Android Studio. But you may get the HAXM Installation Failed message because of the following reasons

  • Android emulator is already running
  • The processor is not Intel-based
  • Unsupported OS
  • Hyper-V Manager must be disabled
  • Virtualization must be enabled in Bios ( VT-x )
  • The PC must support Virtualisation
  • Antivirus (Avast) may interfere with HAXM Installation
HAXM Installation Failed
HAXM Installation Failed

Android emulator is already running

You should stop the Android emulator, if it is already running.

You can stop it from the AVD Manager. On the action, column click down-arrow on the right and click Stop. This stops the emulator.

Or you can restart the computer.

The processor is not Intel-based

Intel HAXM cannot be used on systems without an Intel processor. Even if the processor is Intel, it still needs to have the support VT-x, EM64T, and Execute Disable Bit

For AMD Based PC, you can use the Hyper-V to run the Android Emulator

OS Not supported

  • Supported Windows OS is 7, 8, 8.1 & 10.
  • Supported macOS is 10.12, 10.13 & 10.14
  • Only 64 bit OS is supported.

Disable the Hyper-V Manager

Hyper-V is another Virtualisation technique just like Intel HAXM. You cannot use both at the same time. Hence, It is necessary to Disable Hyper-V. You can follow these steps to disable Hyper-V 

  1. Go to Control Panel -> Programs and Features -> Turn Windows features on or off
  2. From the window disable Hyper-V options
  3. Reboot your machine 
Disabling the HyperV. One of the main reasons for HAXM Installation Failed message
Disabling the HyperV. One of the main reasons for HAXM Installation Failed message

Hyper-V might not be disabled

If you have windows 10 features such as Device Guard and Credential Guard is enabled, it can prevent Hyper-V from being completely disabled.

The Device Guard and Credential Guard hardware readiness tool released by Microsoft can disable the said Windows 10 features along with Hyper-V:

  1. Download the latest version of the Device Guard and Credential Guard hardware readiness tool.
  2. Unzip
  3. Open the Command Prompt using Run as administrator
  4. Run the following command
  5. @powershell -ExecutionPolicy RemoteSigned -Command "X:pathtodgreadiness_v3.6DG_Readiness_Tool_v3.6.ps1 -Disable"
  6. Reboot.

Virtualization is disabled in Bios

If virtualization is disabled in the BIOS, you need to enable it.

Turn off the PC and then turn it On. Press either F2, DEL, F10 ( The key may differ in your PC) key to enter the BIOS at the startup. You will likely to see a message at the startup regarding the key to press to enter the BIOS

Enabling Virtualisation in Bios

Enabling Virtualisation in Bios

You may see the Virtualisation under any of the following menus.

  • Chipset
  • Northbridge
  • Advanced Chipset Control
  • Advanced CPU Configuration

The feature may go by the name

  • VT-x
  • VT-d (as in the above image)
  • Intel Virtualization Technology
  • Intel VT
  • Virtualization Extensions
  • Vanderpool

PC Does not support Virtualisation

Your CPU may not support Virtualisation. You can refer to Does My Processor Support Intel® Virtualization Technology? article to check if your PC Supports Virtualisation

Antivirus interferes with HAXM Installation

The Avast Antivirus interferes with the HAXM installation. It may also slow down the Android Emulator. The workaround is goto Avast Settings > Troubleshooting and uncheck “Use nested virtualization where available” option

How to Install HAXM

There are two ways in which you can install Intel HAXM.

  1. Using the Android SDK Manager
  2. Direct Download & Install

Installing from Android SDK Manager

Go to Android SDK Manager (Tools -> SDK Manager) and select SDK Tools. You will find the Intel x86 Emulator Accelerator HAXM installer listed here. Select it and click on OK.

Intel x86 Emulator Accelerator HAXM installer

Intel x86 Emulator Accelerator HAXM installer

The clicking OK button does not install the HAXM Always. But it will copy the downloaded files to the under the SDK Location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/

You can then click on the intelhaxm-android.exe to install as shown below

Direct Download & Install

You can directly download the Installer from the link HAXM Releases

Once you unzip the file, you will find the intelhaxm-android.exe

Install Intel HAXM
Install Intel HAXM

Welcome to the Intel HAXM setup wizard

Welcome to HAXM Setup

Click on Next to complete the installation.

Check if Intel HAXM Can be installed

Use the haxm_check.exe to check if VT is supported in your PC

Check if HAXM is installed

Finally, you need to check if HAXM is installed and running. You can do it from the command prompt by using the command

Reference

  1. HAXM
  2. Direct Download Link of HAXM
  3. Does My Processor Support Intel® Virtualization Technology?
  4. Device Guard and Credential Guard hardware readiness tool
  5. Android Emulator – AMD Processor & Hyper-V Support
  6. What is HyperVisor
  7. EM64T
  8. Execute Disable Bit
  9. VT-x

Summary

Installing Intel HAXM is a must if you want to run Android Emulator in Windows PC. Without which the Android Emulator will run very slowly. It is installed, when Android Studio is installed, but you get the HAXM Installation Failed error message. The most common error is due to the fact that Virtualisation is not enabled on your PC. Or because HyperVisor is running or the processor is not intel based. We learned how to solve all these issues in this guide

@Manishkumar2019

After updating the android studio. This Intel Haxm not installed problem occurred. Before that it was working fine.
msiexec_NvCsluLZbB

As you can see that it is installed on the system. but after opening the android studio, it is again asking to install the Intel Haxm.
studio64_oVedPgfWrP

studio64_qs5f6CfZWI

Also there is showing no virtualization support.

InkedSpeccy64_seVw07rdvG_LI

How can I solve this issue???

@wayne-ma

Hi @Manishkumar2019 , thanks for reporting this issue. It is weird that your CPU shows virtualization ‘Not supported’. May I know more info from your side? Thanks in advance.

  1. What is your Android studio version?Canary or Stable?What is the version number you are using now?
  2. Could you use HAXM before upgrading the Android studio?
  3. What is your host OS version?
  4. Could you try to download and install the release version from the HAXM release page?
  5. As Hyper-V,Sandbox,Windows Hypervisor Platform(WHPX) and Windows Subsystem for Linux 2 (WSL2) conflict with HAXM, please disable them on Windows 10 build 1903 or higher version.

@Manishkumar2019

First up all thanks for your response wayne-ma. Ya i can share you the answer you have asked…

  1. you can see here the details of the android studio after updating it.

and

  1. yes, i was able to use HAXM before upgrading the android studio. I was working on some Flutter related projects and also the android emulator was working fine.

  2. Here is the host OS version below.

host

  1. ya i have downloaded and installed the HAXM file from the HAXM release page and also installed it.

hhh

As it is showing is showing above that it is installed on the system. but in Android studio it is not installed. and asking to install intel HAXM. i don’t know why?

  1. i have tried different method for disabling Hyper-v and also disabled it. but i dont. know how to fully disable it.
    i have tried from windows power shell and command prompt. like using this code:
    bcdedit /set hypervisorlaunchtype off

And also in windows feature there is Windows hyper visor option but no hyper-v option.

OptionalFeatures_1N0EJSSc04

How can i solve this issue. so i can run again the android emulator in Android studio??

@wayne-ma

First up all thanks for your response wayne-ma. Ya i can share you the answer you have asked…

  1. you can see here the details of the android studio after updating it.

and

  1. yes, i was able to use HAXM before upgrading the android studio. I was working on some Flutter related projects and also the android emulator was working fine.
  2. Here is the host OS version below.

host

  1. ya i have downloaded and installed the HAXM file from the HAXM release page and also installed it.

hhh

As it is showing is showing above that it is installed on the system. but in Android studio it is not installed. and asking to install intel HAXM. i don’t know why?

  1. i have tried different method for disabling Hyper-v and also disabled it. but i dont. know how to fully disable it.
    i have tried from windows power shell and command prompt. like using this code:
    bcdedit /set hypervisorlaunchtype off

And also in windows feature there is Windows hyper visor option but no hyper-v option.

OptionalFeatures_1N0EJSSc04

How can i solve this issue. so i can run again the android emulator in Android studio??

Hi @Manishkumar2019 ,it is a pity that I still could not reproduce your issue on my side. As I don’t have a win10 home version os, I tired with the win10 enterprise and pro verison, I don’t think it is related to the windows host OS version. Could you do more try as my below suggestions?

  1. After running ‘bcdedit /set hypervisorlaunchtype off’ in command prompt ,then reboot your host PC(reboot is a must). And check the hypervisorlaunchtype status was set to off via ‘bcdedit -v’ in the command prompt terminal.
  2. Remove/Uninstall haxm either with Android studio UI or the haxm script in command terminal.
    eg.$silient_install.bat -u
  3. Install the haxm again either with Android studio or manually with haxm script. eg.$silent_install.bat
  4. Launch your AVD again with Android Studio.
    5.If still fail to launch your AVD ,please try to use command line, you can also refer to the steps from my screen shot.
    $emulator-check accel
    $emulator -list-avds
    $emulator -avd $your_avd -wipe-data
    pr274

@Manishkumar2019

Thank you @wayne-ma for your support, i have fixed the android emulator now.
mkk

so fix the issue, i tried to delete the emualator from C:UsersDellAppDataLocalAndroidSdkemulator in my local folder then after that
I opened the android studio again and re-installed the emulator again and it was installed finally.
And also with that intel HAXM was also installed on the system through android studio.

@wayne-ma

@Manishkumar2019 So exiting to know that you fixed the issue, now let us close it here.

@Marquis142

hello please help to install Haxm

@Manishkumar2019

@Marquis142 , what type of issues are you having while installing intel HAXM?

@navkaurz

i am facing somewhat same error. hope you guys can help me.

@wayne-ma

i am facing somewhat same error. hope you guys can help me.

Hi @navkaurz ,please raise a new issue and provide the details.

@hobbymind

hi I too got similar issue,i had installed android studio and installed virtual device the install intel Haxm is coming but i had installed it and it was showing successfully installed but we i try to open virtual device it is showing again

@wcwang

Thanks for your feedback. Could you install the latest HAXM release package and find the installation log in the %TEMP% folder, then check your system configurations according to the wiki page?

@hobbymind

@wcwang Bro issue resolved the problem was due to virtualization was disabled in BIOS after enabling the HAXM installed successfully.Thanks for your time.

@AlokUpadhyay1

hii i am facing same type error my HAXM is Installed but again says not instlled how to fix it.

@wcwang

Thanks for your report. Could you re-install the latest HAXM release package and find the installation log in the %TEMP% folder, then check your system configurations according to the wiki page?

@RonaldoSurdi

Disable Hyper-V
and that’s it :_)

Hi Guys, In this article, we are going to learn about How to solved the HAXM device not found. This is the most common error faced by Android developers. Because of this error, we can’t run Android Virtual Device (AVD). Intel HAXM is mandatory to run Android emulators. so I have to face this error every time when I install Android studio newly on my Laptop.

I Search for some solutions and tried but AVD showing the same error. after trying some of the solutions finally I was able to solve this error in my Window Laptop. So I decided to share this error solution so that it can help others. so let’s start with solutions for how to solved Intel HAXM device not found.

Before going to start check this post How to Install Android Studio and Environment Setup 

How to Solved Intel HAXM device not found error

1. Check HAXM installed on your machine

Check if Intel HAXM Not installed Properly

First, check if Intel HAXM is installed on your system or not. to check this goto Android SDK manager from the Android SDK directory or from Android studio. check if Intel x86 Emulator Accelerator(HAXM installer) is installed or not. if not installed then install it.

How to Solved Intel HAXM device not found error

If it is already installed then uninstall and reinstall again. If you facing any error while installing then you can download manually using this link.

If you are still getting the following error

Failed to configure driver: unknown error. Failed to open the driver. then you will get the solution at this link.

2. Check Intel Virtualization technology

Check Intel Virtualization technology is enabled or not

Virtualization is disabled then AVD gives an error HAXM device not found. to check this you need to restart your computer and go to BIOS settings and Enabled Intel Virtualization.

Note: Your machine is not supported with Virtualization technology then use the following solutions:

  • You can use third-party emulators like Bluestacks, Genymotion, Nox Player, etc.
  • Use real device

After trying many solutions error is not gone. so I tried the following solution and it works

3. Install intelhaxm-android

I have already install intelhaxm but it still shows the same error so I install it from the Android SDK directory. here’s the path AndroidSDK/extras/intel/intelhaxm-android.exe. I run this Application and finish the installation. restart Android studio and it works.

If still, you are still facing any issues then let me know in the comment below. I will help you solved it again.

Hope you like this article about How to solved Intel HAXM device not found.

Thank you 🙂

Here you will get all possible reasons and solution for intel haxm error in android studio.

It is the most common problem faced by android developers. We can’t run Android Virtual Device (AVD) without intel haxm. As I am also an android developer so I face this problem each time I install a new copy of android studio in my laptop. I decided to share the solution for this problem so that it can help other developers.

Also Read: Installing Android Studio and Environment Setup

Below are some possible reasons and solution for intel haxm error. Try all of them one by one, may be any of them will work for you.

Intel HAXM Not Installed Properly

First of all check intel haxm is installed on your system or not. For this open android sdk manager and check it is installed or not.

How to Solve Intel HAXM Error in Android Studio 1

In case it is installed then maybe there was some error while its installation that’s why it is not working properly.

Just uninstall intel haxm from control panel and download it separately from below link and then install. Make sure to restart your system.

Download: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

If you are getting error like this “Failed to configure driver: unknown error. Failed to open driver” while installing haxm then you can try this solution.

Virtualization is Not Enabled

In some cases intel haxm not work when virtualization technology is not enabled. You can just enable it by going to BIOS settings.

Virtualization is Not Supported

It may be possible that your pc or laptop doesn’t support virtualization technology. In this case you can try following two solutions.

  • You can use third party android emulators like Genymotion, Bluestacks, Nox Player, etc to run and test your app.
  • You can also use your real android device by connecting it to your system using USB cable. But make sure the USB Debugging option is enabled in your mobile device.

Use ARM Image

You can use ARM image instead of Intel image to make your AVD. Make sure following package is installed. You can install it by going to SDK manager.

How to Solve Intel HAXM Error in Android Studio 2

Note: AVD made with ARM image works 10 times slower than made with Intel image. Use this option only when above solutions doesn’t work. That’s why I have given this solution at last. If you are using ARM image AVD then make sure your system have at least 8 GB ram and good processor as it will run really slow.

I am sure at least one solution will work for you. Let me know which solution worked for you. If still you are facing any problem then comment below, I will try to solve it.

Happy Coding!! 🙂 🙂

I’ve been assigned a mission to make an Android app, so I installed Android Studio on my new Windows. I’m actually an iOS developer and I’m used to Xcode but not this one. When I tried to launch the emulator, I got an error saying ” HAXM is not installed “.

So today, I’m gonna show you how to download Android Studio and launch the Android emulator.

Download Android Studio

Go to Android Studio and click Download Android Studio button.

HAXM is not installed ?? - How to run apps on the Android Emulator

(read through all the terms and conditions and) Check “I Agree” button and start the download !

Launch the exe file to start the installation. Click Next.

Choose Components

Make sure you check the option Android Virtual Device aka emulator and click Next.

Configuration Settings

Choose where you want to install Android Studio and click Next.

Choose Start Menu Folder

Create a shortcut (if you don’t want the shortcut, tick “Do not create shortcuts” option ✅) then proceed with Install.

Installation Completed ! Click Next.

Start Android Studio and launch Android Studio.

Setting Up Android Studio

Import Android Studio Settings

If you have settings file for Android Studio, you can import from here. If not, select Do not import settings and click OK.

Data Sharing

Send usage statistics to Google means you have agreed to share your data with Google. It’s up to you.

*Setup Wizard popping up*

Install Type

You can customize installation settings here. It’s always easy to keep the default setting. Click Next.

Select UI Theme

Select either light or dark mode. I prefer dark mode.

SDK Components Setup

Select the SDK components you want to install here.

Verify Settings

Review the installation settings and click Finish !!

HAXM is not installed ?? - How to run apps on the Android Emulator

Create a New Project

So it’s time for testing out the emulator. Click Create New Project to start a new project.

HAXM is not installed ?? - How to run apps on the Android Emulator

Choose Empty Activity (or whatever you like).

HAXM is not installed ?? - How to run apps on the Android Emulator

I left them all by default except Language since I’m not familiar with Kotlin.

I already installed AVD, so it must be ready to launch the emulator. Click Run !!

q|゚Д゚|p?!?

HAXM is not installed ?? - How to run apps on the Android Emulator

Intel HAXM is required to run this AVD.
HAXM is not installed.

Install Intel HAXM for better emulation performance.

Well… it seems like not all required libraries are automatically installed on the setup.

So click Configure then SDK Manager.

HAXM is not installed ?? - How to run apps on the Android Emulator

On System Settings > Android SDK, choose SDK Tools and tick Intel x86 Emulator Accelerator (HAXM installer and click OK. It’s done

HAXM is not installed ?? - How to run apps on the Android Emulator

…not yet.

It just downloaded the exe file, so you must manually run the file to install it. Find out where the installed file sits then double-click it.

C://Users/{YourUserName}/AppData/Local/Android/Sdk/extras/intel/Hardware_Accelerated_Execution_Manager-2/haxm-7.6.5-setup.exe 
HAXM is not installed ?? - How to run apps on the Android Emulator

Launch the setup wizard, agree to the license ( read them all q|゚Д゚|p ) and start downloading by clicking Install.

HAXM is not installed ?? - How to run apps on the Android Emulator

Click Finish and it’s done.

HAXM is not installed ?? - How to run apps on the Android Emulator

It worked !!

HAXM is not installed ?? - How to run apps on the Android Emulator

(´ε`;) whew…

Я установил Android Studio, и у меня не было проблем с этим. Однако, когда я попытался запустить эмулятор, он сказал, что Intel HAXM не был установлен.

Поэтому я нашел установщик, запустил его, и он сказал, что мой ноутбук поддерживает его, что он не был включен. Я пошел, включил технологию виртуализации Intel (VT-x), но я все еще получил то же сообщение.

Я слышал, что что-то о Hyper-V необходимо отключить, но когда я перехожу к пункту «Включение и выключение функций Windows», я не могу найти его в этом списке.

Может кто-то помочь мне с этим?

09 фев. 2015, в 21:26

Поделиться

Источник

19 ответов

Хорошо, поэтому я сделал все, что мог найти в Интернете, и ничего не получилось.

Итак, я пошел на сайт Intel, и я загрузил установщик HAXM, который они предоставляют (вместо того, чтобы использовать тот, который был загружен через Android Studio).

Установка действительно прошла через этот установщик и была успешно установлена. Затем я открываю Android Studio, и эмулятор, наконец, загружен!

Итак, для тех, у кого есть эта проблема, просто скачайте программу установки непосредственно с веб-сайта Intel.

Здесь ссылка:

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

Felipe
10 фев. 2015, в 01:06

Поделиться

Я думаю, что ваша проблема заключалась в том, что вы думали, что установщик в Android SDK Manager на самом деле УСТАНОВИТ Intel HAXM. Но крючок в том, что он НЕ УСТАНАВЛИВАЕТ его. Он извлекает файлы, необходимые для (действительно) установки Intel HAXM.

Я узнал об этом, когда у меня возникла та же проблема, а затем прочитал это на веб-странице Intel:

Загрузка через Android * SDK Manager

… Другие шаги…

5) Менеджер SDK загрузит установщик в каталог «extras», расположенный в главном каталоге SDK. Несмотря на то, что менеджер SDK говорит «Установлено», это фактически означает, что исполняемый файл Intel HAXM был загружен. Вам все равно нужно будет запустить установщик из каталога «extras», чтобы установить его.

6) Запустите установщик в каталоге /sdk/extras/intel/Hardware_Accelerated_Execution_Manager/и следуйте инструкциям по установке для вашей платформы.

Поэтому все, что мне нужно было сделать, это перейти в папку, где находился мой Android SDK, открыть эту папку (sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager) и запустить silent_install.bat.

После этого, когда я запустил свой эмулятор, он сказал это:

HAXM работает и эмулятор работает в быстром режиме virt

и все работает как надо!

Вы также можете использовать некоторые полезные параметры с silent_install.bat:

  • -v Версия для печати HAXM
  • -c Проверьте возможности VT/NX платформы
  • -h Использование печати

vilpe89
28 апр. 2016, в 08:16

Поделиться

Я столкнулся с этой проблемой. Я получил решение тоже. Он будет работать.

Шаг 1. Перейдите в настройки BIOS и убедитесь, что INTERNET VIRTUAL TECHNOLOGY включена или отключена.

И убедитесь, что HYPER V отключен.
 Чтобы отключить его:
 a) Перейти на панель управления
 б) Нажмите «Программы» ( «Удалить программу» )
 c) Затем нажмите «Включить или отключить Windows», затем найдите «HYPER-V» и отпустите его. И перезапустите.
Если отключено, включите его.

Шаг 2. Попробуйте установить Intel HAXM и перезагрузите компьютер. Если он снова показывает ту же проблему.
перейдите к шагу 3.

Шаг 3: вам необходимо отключить цифровую подпись. Чтобы отключить его навсегда, вы должны убедиться, что в вашей системе отключена опция «Безопасная загрузка».

Как проверить?

Ответ дается в следующей ссылке. Я нашел его в Интернете. [Спасибо, кто сделал этот блог]

ссылка: http://www.windowspasswordsrecovery.com/win8-tips/how-to-disable-uefi-secure-boot-in-windows-8-1-8.html

Шаг 4: снова перезапустите.

Чтобы отключить принудительное соответствие подписей на драйверы в Windows 10, вам необходимо сделать следующее:

1.Откройте экземпляр командной строки с повышенными полномочиями.
2. Введите/вставьте следующий текст:

     bcdedit.exe /set nointegritychecks on

Windows 10 отключает принудительное подписание подписи драйвера

Перезагрузите Windows 10.

* Если вы как-то захотите включить его снова:

1. Введите/вставьте следующий текст:

     bcdedit.exe /set nointegritychecks off

Shankhadeep Ghosal
27 авг. 2016, в 16:51

Поделиться

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

или же

bcdedit /set hypervisorlaunchtype off

Другие вещи, которые вам, возможно, понадобится сделать:

  • Если вы используете Avast? отключить Включить аппаратную виртуализацию в: Настройки > Устранение неполадок
  • bcdedit/set nx AlwaysOn
  • sfc/scannow и перезагрузка

Важно: после того, как вы попробуете, перезагрузите компьютер и попробуйте снова запустить установку HAXM

codecats
09 фев. 2015, в 23:08

Поделиться

Это то, что сработало для меня —

  • Включить Virtualiztion через BIOS (F10- > Конфигурация системы → Технология Virtualiztion)
    В зависимости от вашего оборудования, прошивки и утилиты настройки BIOS опция включения может быть названа чем-то другим или шаги могут отличаться.
    Существует бесплатное программное обеспечение под названием «Piriform Speccy», которое предоставляет информацию о вашей машине, которая, помимо прочего, также может использоваться для проверки включенности или отсутствия виртуализации на вашем компьютере (см. Экранную крышку).

Изображение 119853

  1. Загрузите HAXM intaller с сайта Intel. https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

  2. Если вы используете avast, отключите «Включить аппаратную виртуализацию» в разделе «Настройки» > «Устранение неполадок», сняв флажок.

Сделайте жесткую загрузку (кнопка питания), чтобы быть в безопасности.

Shew
09 янв. 2016, в 20:15

Поделиться

Убедитесь, что эмулятор не работает во время установки HAXM. В противном случае произойдет ошибка, которая появляется только при использовании автономного установщика, но не в Android Studio или IntelliJ Idea.

lucidbrot
02 янв. 2019, в 18:35

Поделиться

Примечание: это не ответ, потому что я не смог найти решение. Но я думаю, что информация может быть полезна для других (и это не будет практичным в качестве комментария). Я перепробовал все шаги, описанные в различных документах, но не смог заставить эмулятор Android работать на моем AMD Ryzen 7 :(


Большинство ответов работают только для процессоров Intel. Если у вас есть процессор AMD (например, AMD Ryzen 7), вам нужно знать о некоторых ограничениях и использовать WHPX вместо HAXM.

Я нашел это на сайте MS: поскольку эмулятор Android в настоящее время поддерживает аппаратное ускорение AMD только в Linux, аппаратное ускорение недоступно для компьютеров на базе AMD, работающих под управлением Windows.

К счастью, есть способ заставить его работать, но настроить аппаратное ускорение для процессора AMD немного сложнее:

Требования и рекомендации: — Рекомендация по процессору AMD: Процессор AMD Ryzen — Android Studio 3.2 Beta 1 или выше — Эмулятор Android версии 27.3.8 или выше — Windows 10 с обновлением апреля 2018 года или выше

Чтобы использовать ускорение WHPX в Windows, необходимо включить параметр «Платформа гипервизора Windows» в диалоговом окне «Включить или отключить функции Windows». Чтобы изменения в этом параметре вступили в силу, перезагрузите компьютер.

Кроме того, в настройках BIOS необходимо внести следующие изменения: — AMD CPU: должна быть включена виртуализация или SVM.

Обратите внимание, что есть и другие ограничения:

  • Вы не можете запустить эмулятор с ускорением виртуальной машины внутри другой виртуальной машины, такой как виртуальная машина, размещенная в VirtualBox, VMWare или Docker. Вы должны запустить эмулятор непосредственно на вашем системном оборудовании.
  • Вы не можете запускать программное обеспечение, использующее другую технологию виртуализации, одновременно с ускоренным эмулятором. Например, VirtualBox, VMWare и Docker в настоящее время используют другую технологию виртуализации, поэтому вы не можете запускать их одновременно с ускоренным эмулятором.

Дополнительная информация: Android Emulator — поддержка процессоров AMD и Hyper-V

Эта рекомендация тоже не помогла:

Обратите внимание: более поздние версии эмулятора (27.2.8, 27.3.0 или более поздние) требуют наличия флага эмулятора, когда функция находится в предварительном просмотре. Для этого создайте или отредактируйте файл C:Users.androidadvancedFeatures.ini и добавьте строку «WindowsHypervisorPlatform = on» или запустите эмулятор из командной строки с помощью «-feature WindowsHypervisorPlatform».

snorbi
26 июль 2018, в 12:38

Поделиться

Я понял.
Попытайтесь отключить Security Boot Control в настройках BIOS: http://remontka.pro/secure-boot-disable/ (извините за русские примеры)
Или попробуйте запустить систему без цифровой подписи (только для одной загрузки).
У меня было много неудачных попыток с установщиком HAXM, прежде чем я отключил эту строку.
Сначала я подумал, что, поскольку Windows 10 Home был установлен, и существует множество ограничений.

Vladimir
18 авг. 2016, в 23:37

Поделиться

Для книги HP Ultra с Windows 7, позволяющей гипервизорную биосферу работать с проблемой intel haxm.

Для включения hyper-v: —

F10- > Расширенные настройки Bios- > конфигурации устройств- > включить Hyper-V, затем установить.

Он будет работать.

Deepak Dongre
27 июнь 2015, в 22:26

Поделиться

служба HYPER-V должна быть остановлена.

ROCFER
30 апр. 2019, в 09:46

Поделиться

Если ничего не помогает, это означает, что Device Guard и Credential Guard используют виртуализацию. Мне пришлось отключить их, загрузив и запустив следующий скрипт с сайта Microsoft.

DG_Readiness_Tool_v3.5.ps1 -Disable

Возможно, вам придется запустить это в первую очередь, если он не позволяет запустить команду

Set-ExecutionPolicy Unrestricted

После того, как вы это сделаете, вам нужно перезапустить и подтвердить отключение обоих, когда их спрашивают непосредственно перед загрузкой.

Надеюсь, поможет!

Anup Sharma
17 июнь 2018, в 20:20

Поделиться

Хорошее описание здесь: https://developer.android.com/studio/run/emulator-acceleration.html

Вы можете проверить текущее состояние HAXM с помощью следующей команды:

запрос sc intelhaxm

Если вы используете Windows 10 Home, все проблемы, связанные с Hyper-V, для вас неактуальны, поскольку они не поддерживаются (требуется Pro), и у вас не будет конфликтов:)

Примечание: попытка обновления HAXM до последней версии случайно удалила его, но затем не может обновиться с помощью менеджера SDK, так как он показывает, что последняя версия 6.1.1 не поддерживается для Windows (кажется, что конфигурация повреждена, найдена 6.1.1 для Mac и 6.0.6 для Windows только внутри)
Поэтому рекомендуем вручную загрузить HAXM и установить, как описано:
скопируйте в sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager и запустите silent_install.bat

Alex C
24 апр. 2017, в 17:27

Поделиться

Я думаю, что вы установили файлы Android SDK, не входящие в ваш компьютер, AppdataLocalAndroidsdk (путь по умолчанию). Также не было ничего, когда вы дважды щелкаете файлом intelhaxm-android.exe.

Если бы это было, «Обзор» (ваш компьютер)AppdataLocalTempintelHAXM6.0.3 (yyyy-mm-dd_hh_mm_ss) (или беззвучный), вы должны увидеть файл hax64 (или hax), и просто вызовите этот файл.

Dev_Jun
08 июль 2016, в 12:14

Поделиться

Если вы используете окна, измените конфигурацию AVD на изображение ARMEABI вместо X86. Также использование ARM даст лучшую производительность. Установщик HAXM требуется, только если вы используете изображение X86.

Ankur Kumar
19 фев. 2016, в 13:11

Поделиться

Он должен предложить вам установить HAXM при создании нового виртуального устройства:

Tools > Android > AVD Manager

Он автоматически установится через Android Studio.

Mark Tickner
11 янв. 2016, в 12:46

Поделиться

Если вы используете окна, Hyper-V работает через AMD, а не HAXM.

Попробуйте следующее: на Android, щелкните SDK Manager == > Платы SDK == > Показать пакеты == > ARM EABI v7a Systems Image.

После загрузки образа системы перейдите в AVD Manager == > Создать виртуальное устройство == > выбрать устройство (например, 5.4 FWVGA) == > Marshmallow armeabi v7a Android6 с API Google == > Измените имя AVD на что угодно (например, myfirst) == > завершение клика.

kade
26 фев. 2016, в 19:43

Поделиться

Ещё вопросы

  • 1Проблема с ориентацией на Android, без прокрутки
  • 0Используйте jQuery, чтобы получить часть значения JSON и вставить его в div
  • 1Нужно ли синхронизировать доступ к аргументам и локальным методам при одновременном вызове метода?
  • 0Ошибка ActiveXObject при запуске из приложения HTML или приложения Flex
  • 0Smarty проверить, если идентификатор соответствует определенным числам
  • 0Фонд раскрывает не распознает модальную ссылку
  • 0jQuery validate плагин — только успешно показывать изображение «галочка», иначе при ошибке показывать «крестик» изображение
  • 1Ошибка атрибута шрифта pygame
  • 0Возможно ли создать собственную семантическую разметку «<что-то> </ что-то>» для вашего движка шаблонов в PHP?
  • 0Выберите конкретную текстовую форму .TXT и сгруппируйте содержимое
  • 0Показать данные Json в виде файла
  • 0Предикат лямбда-функции для использования для find_if, который сравнивает элемент карты составного типа
  • 1Разделение сеанса Tomcat не работает, когда браузер выполняет вызов на другой сервер
  • 0используя разрешение в маршрутах angularjs
  • 1Запуск / остановка потока Python из другого потока вызывает непредвиденное поведение
  • 1EventQueue.invokeLater vs Thread.start
  • 0Переменная Javascript не может возвращаться как int при передаче переменной php
  • 0Есть ли у Angular предопределенный объект, который содержит все текущие обещания?
  • 0пример embarcadero WindowHandleToPlatform c ++
  • 0Как получить идентификатор запроса MySQL, который не совпадает с моим?
  • 1Kendo TimePicker для не привязки к ViewModel при использовании TimeSpan MVC
  • 1InvalidCastException Ошибка, вызванная строкой БД?
  • 1Использовать макет как OverlayItem на MapView?
  • 1JavaScript — перемещение объекта на новое место
  • 1Диспетчерские функции с разными подписями
  • 1Удалите все нулевые значения массива перед сортировкой
  • 0Утечка памяти с динамическим массивом переменных mpfr в c ++
  • 0Magento — способ доставки carrier.php
  • 0Рендеринг 1000+ div на веб-странице
  • 1Обратный вызов SetState не ожидает обновления состояния
  • 1Переопределение требует, чтобы начать с корня и проверить модули узла без изменения его имени
  • 1Как читать и записывать в / из файла с точностью до бит на Java
  • 0Создайте два разных пути расположения на одной кнопке (AngularJS)
  • 0Цены группы Magento
  • 1Webpack сжать JS без консольного журнала
  • 0Поиск по родительскому массиву и вывод имени дочернего массива, если совпадение найдено
  • 0Как динамически добавлять шаблоны на страницу в Angular
  • 0использование cvShowImage с пространством имен
  • 0UpdatePanel неправильно выбран при наведении мыши на дочерний элемент управления
  • 0Не удается получить маршруты второго уровня, работающие в экспрессе
  • 0Как выбрать строку с наибольшим значением в запросе с помощью SUM () и JOIN?
  • 0Когда div появляется в окне просмотра, прокрутите вверх
  • 1Получить количество дублированных значений на категорию / группу в Python Python
  • 0поместите div в верхней части iframe в HTML
  • 1Функция добавлена в C-код и интерфейс Swig не распознан; «Нет атрибута« set_latency »»
  • 1Добавить соединение с помощью учетной записи Google / Facebook в приложение JavaEE
  • 0CKEDITOR — используйте клавишу Backspace для выделения текста
  • 0JQuery не удается обновить цвет фона CSS
  • 1Инициализируйте значение var в null для строго типизированного
  • 1Установка DataContext представления из разметки с помощью параметризованного конструктора

Сообщество Overcoder

Понравилась статья? Поделить с друзьями:
  • Install failed vmware horizon client как исправить
  • Install failed upload apk error
  • Install failed internal error permission denied перевод
  • Install failed internal error permission denied как исправить
  • Install failed insufficient storage как исправить