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
Some link suggest to download it from intel but I got access denied. And also in my windows feature hyper-v was unchecked
n.b: I am using windows ver.10, VS.studio ver.2017 with i5 processor
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.
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.
Open SDK Manager and download Intel x86 Emulator Accelerator (HAXM installer) if you haven't.
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.
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
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
.
In BIOS model :
Even if you do this, it maybe still have no effect :
Config -> CPU -> Intel Virtualization Technology -> Enable
Enable Virtualization like this :
Security -> Virtualization -> Intel(R) Virtualization Technology -> Enabled
If you have turn it on, install the Intel HAXM.
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.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With