Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HAXM is not installed on this machine

Recently I've installed Xamarin and tried to do a tutorial in Xamarin page beginner. When I am about to compile, it gives me an error:

2>Please ensure Intel HAXM is properly installed and usable.

and

2>CPU acceleration status: HAXM is not installed on this machine

Then I am opening the android SDK Manager, I can't install the HAXM

enter image description here enter image description here Some link suggest to download it from intel but I got access denied. And also in my windows feature hyper-v was unchecked

enter image description here enter image description here

n.b: I am using windows ver.10, VS.studio ver.2017 with i5 processor

like image 803
chopperfield Avatar asked Jul 24 '17 06:07

chopperfield


People also ask

How do I fix HAXM not installed?

Option 1: Go to Android SDK Folder --> Extra --> Intel and double click on HAXM installer and install it manually. Option 2: If you do not have latest version of HAXM then you can open sdk manager in android studio and download it.

Is Intel HAXM necessary?

Installing or not installing it will make no difference to a computer on an AMD processor. So long story short, you do not need Intel HAXM installed to use Android Studio.


4 Answers

  1. Open SDK Manager and download Intel x86 Emulator Accelerator (HAXM installer) if you haven't.

  2. Now go to your SDK directory (C:\users\username\AppData\Local\Android\sdk, generally). In this directory, go to extras → Intel → Hardware_Accelerated_Execution_Manager and run the file named "intelhaxm-android.exe".

    In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled", go to your BIOS settings and enable hardware virtualization.

  3. Restart Android Studio and then try to start the AVD again.

It might take a minute or 2 to show the emulator window.

Please this answer for images Error in launching AVD with AMD processor

like image 173
Ashok Kateshiya Avatar answered Nov 13 '22 06:11

Ashok Kateshiya


Check your system have Intel® VT-x Technology, sometime it is easier to make mistake.

Check your Intel Virtualization Technology state in Task Manager -> Performance -> Virtualization -> Enable or Disable. enter image description here

In BIOS model :

  1. Even if you do this, it maybe still have no effect :

    Config -> CPU -> Intel Virtualization Technology -> Enable

  2. Enable Virtualization like this :

    Security -> Virtualization -> Intel(R) Virtualization Technology -> Enabled

If you have turn it on, install the Intel HAXM.

like image 24
York Shen Avatar answered Nov 13 '22 04:11

York Shen


If it is Intel processor, then you enable Intel HAXM.

If it is AMD processor then below is your answer.

You absolutely don't need Intel HAXM (Hardware Accelerated Execution Mode) in AMD processors, because they are AMD processors.

Just enable (check) Windows Hypervisor Platform in Windows features as shown below. enter image description here

Now, you can start emulators. No need of Intel HAXM.

Here is official link: https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html

like image 34
Uddhav P. Gautam Avatar answered Nov 13 '22 05:11

Uddhav P. Gautam


As Ashok Kateshiya post says, do follow same. But for first step that how to get the things, A new user of Android SDK who is going to setup the software may get confused somewhat. SO I am adding some extra details for them. Just see down...

I am adding an image for how to get the first option, here... enter image description here

Now, click apply and follow the steps and atlast click ok butoon.

Now go to your SDK directory (C:\users\username\AppData\Local\Android\sdk, generally). In this directory, go to extras → Intel → Hardware_Accelerated_Execution_Manager. And run the file named "haxm-7.6.5-setup.exe".

Now it will install the exe file and by using a intel interface. And you need not to restart the android studio just run the app it will work fine for you.

Adding an image for succefull completion of installation: enter image description here

Thanks.

like image 35
CoderGaur97 Avatar answered Nov 13 '22 05:11

CoderGaur97