Android studio haxm device is not found windows 10

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.

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 🙂

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,6061 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,1033 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 Jm's user avatar

Julien JmJulien Jm

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,45817 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

69k35 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

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!! 🙂 🙂

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

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

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

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

Я слышу что-то о Hyper-V должно быть невозможно, но когда я иду, чтобы включить окна Функции Вкл/Выкл, я не могу найти его в этом списке.

может кто-нибудь помочь мне с этим?

16 ответов


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

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

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

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

вот ссылка:

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


Я думаю, ваша проблема заключалась в том, что вы думали, что установщик в Android SDK Manager фактически установит Intel HAXM. Но крючок в том, что он не будет устанавливать его. Что он делает, это извлекает файлы, необходимые для (действительно) установки Intel HAXM.

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

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

… Другие действия …

5) менеджер SDK загрузит установщик в каталог «дополнительно», под основным каталогом 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.летучая мышь:

  • — V печать HAXM версия
  • — C Проверьте возможности VT / NX платформы
  • -ч использование печати

я столкнулся с этой проблемой.У меня тоже есть решение.Это сработает.

Шаг 1: перейдите в настройки BIOS и убедитесь, что виртуальная технология интернета включена или отключена.

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

5

автор: Shankhadeep Ghosal


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

или

bcdedit /set hypervisorlaunchtype off

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

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

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


для HP Ultra book с windows 7 включение hyper-v через bios работало для проблемы intel haxm.

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

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

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


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

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

Check if virtualization enabled with Speccy

  1. скачать HAXM intaller с сайта Intel. https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

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

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


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


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

Tools > Android > AVD Manager

он будет установлен через Android Studio автоматически.


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


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

Если это было, просмотрите(ваш ПК)AppdataLocalTempintelHAXM6.0.3 (yyyy-mm-dd_hh_mm_ss) (или silent), то вы должны увидеть файл ‘hax64’ (или hax) и просто вызвать этот файл.



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

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

sc запрос intelhaxm

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

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



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

DG_Readiness_Tool_v3.5.ps1 -Disable

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

Set-ExecutionPolicy Unrestricted

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

надеюсь, что это помогает!


Примечание: это не ответ, потому что я не мог найти решение. Но я думаю, что информация может быть полезна для других (и это не было бы практично в качестве комментария).
Я пробовал все шаги, описанные в различных документах, но я не мог заставить эмулятор 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: виртуализация или SVM должны быть включены.

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

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

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

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

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


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

попробуйте следующее: На Android нажмите SDK Manager == > SDK Platforms ==> Show Packages ==>ARM EABI v7a Systems Image.

после загрузки образа системы перейдите в AVD Manager ==> Create Virtual Device ==> choose device (например, 5.4 FWVGA») ==> Marshmallow armeabi v7a Android6 с Google APIs ==> измените имя AVD на что угодно (например. первые)==> нажать кнопку Готово.


Понравилась статья? Поделить с друзьями:
  • Android доступ к файлам windows по сети
  • Android x86 установка на пк рядом с windows
  • Android windows 7 скачать на андроид бесплатно
  • Android virtual device скачать windows 10
  • Android studio amd emulator windows 10