简体   繁体   中英

AndroidStudio: Can't run AVD because of Intel HAXM error

According to my AS SDK manager, Intel x86 Emulator Accelerator (HAXM Installer) version 6.0.1 is installed .

However, if I attempt to 'run' my app, then choose an 'available emulator' (eg, nexus one api 23), I get the error: intel haxm is required to run this avd .

A couple of days ago I was not having this problem (I was able to use an emulator).

Also, according to my System Settings/Android SDK , I have Android 6.0, API Level 23.

I am using Win XP, with AS2.0.

You have to install it.

Go to your sdk manager and then select it to install it (look at the bottom). Then you have to go to the folder in which the android studio is installed then look for extras/intel and then install it.

There can be a couple of problems when this happens. You have to run your BIOS to activate virtualization technology (look how to go to the BIOS), and deactivate your antivirus while its installing. (Also you should deactivate the option about virtualization technology).

When the HAXM its done, open your android studio and try to run your application, it's gonna work this time!

(I had the same problem few days ago).

I ever see Avast! doing wrong with Intel HAXM (did you just installed it ?) on a friend's laptop. What i would suggest is simply to unistall/reinstall it in "Settings/System Setting/Android SDK". Personnally at the HAXM "installation" from AndroidStudio it was downloaded only. I managed by going to "C:\\Android\\sdk\\extras\\intel\\Hardware_Accelerated_Execution_Manager" (or the corresponding path onto your computer) in order to run the installer manually.

The reason is because you have installed Avast. You have to uncheck this option: Enable hardware -assisted virtualization 在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM