Android Studio : "HAXM is not installed" при уже установленном HAXM
При создании эмулятора в Android Studio получаю ошибку «HAXM is not installed»:

При этом в SDK Manager видно, что HAXM уже установлен:

да и по пути «D:\Android\sdk\extras\intel» есть папка «Hardware_Accelerated_Execution_Manager».
Я не могу установить Intel HAXM
Я установил Android Studio, и у меня не было проблем с этим. Однако, когда я попытался запустить эмулятор, он сказал, что Intel HAXM не был установлен.
Поэтому я нашел установщик, запустил его, и он сказал, что мой ноутбук поддерживает его, что он не был включен. Я пошел, включил технологию виртуализации Intel (VT-x), но я все еще получил то же сообщение.
Я слышал, что что-то о Hyper-V необходимо отключить, но когда я перехожу к пункту «Включение и выключение функций Windows», я не могу найти его в этом списке.
Может кто-то помочь мне с этим?
19 ответов
Хорошо, поэтому я сделал все, что мог найти в Интернете, и ничего не получилось.
Итак, я пошел на сайт Intel, и я загрузил установщик HAXM, который они предоставляют (вместо того, чтобы использовать тот, который был загружен через Android Studio).
Установка действительно прошла через этот установщик и была успешно установлена. Затем я открываю Android Studio, и эмулятор, наконец, загружен!
Итак, для тех, у кого есть эта проблема, просто скачайте программу установки непосредственно с веб-сайта Intel.
Я думаю, что ваша проблема заключалась в том, что вы думали, что установщик в 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 Использование печати
Я столкнулся с этой проблемой. Я получил решение тоже. Он будет работать.
Шаг 1. Перейдите в настройки BIOS и убедитесь, что INTERNET VIRTUAL TECHNOLOGY включена или отключена.
И убедитесь, что HYPER V отключен. Чтобы отключить его: a) Перейти на панель управления б) Нажмите «Программы» ( «Удалить программу» ) c) Затем нажмите «Включить или отключить Windows», затем найдите «HYPER-V» и отпустите его. И перезапустите. Если отключено, включите его.
Шаг 2. Попробуйте установить Intel HAXM и перезагрузите компьютер. Если он снова показывает ту же проблему. перейдите к шагу 3.
Шаг 3: вам необходимо отключить цифровую подпись. Чтобы отключить его навсегда, вы должны убедиться, что в вашей системе отключена опция «Безопасная загрузка».
Как проверить?
Ответ дается в следующей ссылке. Я нашел его в Интернете. [Спасибо, кто сделал этот блог]
Шаг 4: снова перезапустите.
Чтобы отключить принудительное соответствие подписей на драйверы в Windows 10, вам необходимо сделать следующее:
1.Откройте экземпляр командной строки с повышенными полномочиями. 2. Введите/вставьте следующий текст:
Windows 10 отключает принудительное подписание подписи драйвера
Перезагрузите Windows 10.
* Если вы как-то захотите включить его снова:
1. Введите/вставьте следующий текст:
Другие вещи, которые вам, возможно, понадобится сделать:
- Если вы используете Avast? отключить Включить аппаратную виртуализацию в: Настройки > Устранение неполадок
- bcdedit/set nx AlwaysOn
- sfc/scannow и перезагрузка
Важно: после того, как вы попробуете, перезагрузите компьютер и попробуйте снова запустить установку HAXM
Это то, что сработало для меня —
- Включить Virtualiztion через BIOS (F10- > Конфигурация системы → Технология Virtualiztion) В зависимости от вашего оборудования, прошивки и утилиты настройки BIOS опция включения может быть названа чем-то другим или шаги могут отличаться. Существует бесплатное программное обеспечение под названием «Piriform Speccy», которое предоставляет информацию о вашей машине, которая, помимо прочего, также может использоваться для проверки включенности или отсутствия виртуализации на вашем компьютере (см. Экранную крышку).

Если вы используете avast, отключите «Включить аппаратную виртуализацию» в разделе «Настройки» > «Устранение неполадок», сняв флажок.
Сделайте жесткую загрузку (кнопка питания), чтобы быть в безопасности.
Убедитесь, что эмулятор не работает во время установки HAXM. В противном случае произойдет ошибка, которая появляется только при использовании автономного установщика, но не в Android Studio или IntelliJ Idea.
Примечание: это не ответ, потому что я не смог найти решение. Но я думаю, что информация может быть полезна для других (и это не будет практичным в качестве комментария). Я перепробовал все шаги, описанные в различных документах, но не смог заставить эмулятор Android работать на моем AMD Ryzen 7 🙁
Большинство ответов работают только для процессоров Intel. Если у вас есть процессор AMD (например, AMD Ryzen 7), вам нужно знать о некоторых ограничениях и использовать WHPX вместо HAXM.
К счастью, есть способ заставить его работать, но настроить аппаратное ускорение для процессора 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 в настоящее время используют другую технологию виртуализации, поэтому вы не можете запускать их одновременно с ускоренным эмулятором.
Обратите внимание: более поздние версии эмулятора (27.2.8, 27.3.0 или более поздние) требуют наличия флага эмулятора, когда функция находится в предварительном просмотре. Для этого создайте или отредактируйте файл C:\Users\.android\advancedFeatures.ini и добавьте строку «WindowsHypervisorPlatform = on» или запустите эмулятор из командной строки с помощью «-feature WindowsHypervisorPlatform».
Я понял. Попытайтесь отключить Security Boot Control в настройках BIOS: http://remontka.pro/secure-boot-disable/ (извините за русские примеры) Или попробуйте запустить систему без цифровой подписи (только для одной загрузки). У меня было много неудачных попыток с установщиком HAXM, прежде чем я отключил эту строку. Сначала я подумал, что, поскольку Windows 10 Home был установлен, и существует множество ограничений.
Для книги HP Ultra с Windows 7, позволяющей гипервизорную биосферу работать с проблемой intel haxm.
Для включения hyper-v: —
F10- > Расширенные настройки Bios- > конфигурации устройств- > включить Hyper-V, затем установить.
How To Fix HAXM Error In Android Studio
HAXM errors are very common issues while developing apps in Android studio, but they can be easily fixed with some tools and methods. Today we will look into almost all the methods by which we can fix HAXM errors in Android Studio. I hope this guide will help you fix this error and you will continue in your app-building journey.
Some Common HAXM errors and their fixes
First of all, let me tell you what HAXXM is. As you know Android emulator is used to run and test your apps and games in android studio, so to properly run the Android emulator, your PC or laptop uses a virtualization tool which is called HAXM(Hardware Accelerated Execution Manager).
Following are some common errors and fixes that I have personally seen and tested.
1. Virtualization Technology (VT-x) is turned off
This shows that the Virtualization Technology is not active on your PC or laptop. It’s a very common issue for first-time android studio users, it happens more than usual.
There is a simple and very easy way to fix this issue, you just have to go to your system’s BIOS settings and enable Virtualization from there.
Let me show you how:-
a. First of all, restart your system and press a particular key to enter the BIOS setup. That particular key can vary depending on your PC brand and model but common BIOS setup keys are F2, F10, or Delete.
b. Once entered the BIOS setup, look for the Advanced or Security tab there you will find Virtualization Technology or VT-x.
Let me remind you that the location may change according to your PC and laptop brand and model.
c. Now you will see that Virtualization is disabled just click on it and change it to enable. If it shows auto then that means it is already activated, leave it as it is.
d. Now save the settings using the save and exit option or using the F10 key.
e. The system will now boot automatically. Once the system boots up try installing HAXM again and you will see the error has been fixed.
2. Failed to open the driver
This occurs when installing the HAXM, it shows that there is an a. issue with the HAXM driver itself. To fix this follow the following methods.
a. First of all uninstall any HAXM drivers installed on your system, those outdated or corrupt drivers may be causing this issue.
b. The next thing you can do is go to Intel official site (https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm) and download and install the new updated HAXM driver.
c. Also you should check for the system requirements to install the HAXM. Normally HAXM requires a 64-bit Operating system, a minimum of 4GB of ram, and vt-x compatible CPU.
d. After downloading the HAXM installer, run this installer as an admin to ensure the installer has proper permissions to install HAXM.
e. After successful installation, you will see that HAXM is working properly.
3. Disable Hyper-V
The most common and underrated solution to fix HAXM errors is Disabling Hyper-V. I have tried and tested it, and 8 out of 10 times the HAXM error occurs due to Hyper-V.
To disable Hyper-V just go to Control panel>Turn Windows features on or off>Hyper-v
After finding Hyper-V just disable it or uncheck it. This will solve all your problems regarding HAXM installation.
You can also try some additional methods to fix this issue:
- Update android studio
- Try using another emulator
- Contact Support
Conclusion
So there you go, these are all the steps and methods that I have personally used to fix HAXM errors in android studio. I know this error can be frustrating and irritating but you just have to be patient and hardworking enough to overcome these errors. Now still if you have any issues or complaints do let me know in the comments I will try to help you out. Till then keep learning keep Hustling.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
intel / haxm Public archive
Intel HAXM is not installed in Android studio although after installing it manually from github repository. #274
Intel HAXM is not installed in Android studio although after installing it manually from github repository. #274
Comments

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

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.

Also there is showing no virtualization support.

How can I solve this issue.
The text was updated successfully, but these errors were encountered:
First up all thanks for your response wayne-ma. Ya i can share you the answer you have asked.
- you can see here the details of the android studio after updating it.

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.
Here is the host OS version below.

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

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?
- 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.

How can i solve this issue. so i can run again the android emulator in Android studio??
- you can see here the details of the android studio after updating it.
- 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.
- Here is the host OS version below.
- ya i have downloaded and installed the HAXM file from the HAXM release page and also installed it.
- 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
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?
- 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.
- Remove/Uninstall haxm either with Android studio UI or the haxm script in command terminal.
eg.$silient_install.bat -u - Install the haxm again either with Android studio or manually with haxm script. eg.$silent_install.bat
- 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

Thank you @wayne-ma for your support, i have fixed the android emulator now.
so fix the issue, i tried to delete the emualator from C:\Users\Dell\AppData\Local\Android\Sdk\emulator 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.
@Manishkumar2019 So exiting to know that you fixed the issue, now let us close it here.