Перейти к содержимому

Haxm is not installed как исправить

  • автор:

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». В чём тогда причина того, что AVD Manager не видит HAXM?

Отслеживать

задан 17 июл 2017 в 14:15

10.7k 6 6 золотых знаков 47 47 серебряных знаков 98 98 бронзовых знаков

HAXM должен быть не только проинсталирован, но так же поддерживаться оборудованием (процессор с VT-x — относительно современные Intel) и виртуализация включена в BIOS компьютера/ Инструкция

17 июл 2017 в 14:47

@pavlofff, до этого у меня стояла Android Studio 1.2, и в ней эмулятор запускался без проблем. Сейчас я установила Android Studio 2.3.3, и в ней при запуске эмулятора появилась описанная ошибка. Так что вряд ли проблема в оборудовании: если на старой версии эмулятор запускался, виртуализация должна быть включена.

Ошибка в Intel HAXM в Android Studio

Не получается установить Intel HAXM в Android Studio
Приветствую уважаемых читателей! Прошу помочь мне в решении одной проблемы, 2 дня бьюсь.

Android studio emulator error HAXM
Здравствуйте. Помогите разобраться с эмулятором в андроид студио. Перерыл интернет и на русском, и.

Ошибка Intel HAXM is required to run this AVD.
Ребятки, подскажите как решить проблему! При запуске AndroidStudio проекта, а именно при нажатии на.

Android studio HAXM device not found
Всем привет, я новичок в разработке по android, установил jdk поставил android studio версию 3.5.

1569 / 1167 / 426
Регистрация: 08.05.2012
Сообщений: 5,219
Там же написано, причина в упомянутом логе и ссылочка на доку, как и что надо делать.
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
Помогаю со студенческими работами здесь

(Android studio, java) Ошибка при импорте библиотеки cannot resolve symbol android studio
Вот библиотека https://github.com/mik3y/usb-serial-for-android. Устанавливал так, File -> New ->.

Установка Intel HAXM
всем привет уважаемые форумчане помогите пож. с установкой Intel HAXM не могу установить Intel.

Install intel HAXM
Доброго времени суток господа форумчане . Попробую подробно описать свою ситуацию . Процессор.

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

Ошибка в Android Studio Error:No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’
Доброго времени суток! При компиляции андроид приложении выходит данная ошибка, прошу помочь! Мне.

Проблемы с первым запуском Android Studio (AMD, Win10x64, Android Studio 4.1.1), прошу совета
Вводные: AMD, Win10x64, Android Studio 4.1.1. java version "15.0.1" 2020-10-20 Java(TM) SE.

Ошибка Android Studio
Ребята очень срочно нужна помощь. При запуске android studio возникает ошибка Error:Unable.

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search

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.

This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

intel / haxm Public archive

Intel HAXM is not installed in Android studio although after installing it manually from github repository. #274

Manishkumar2019 opened this issue Mar 12, 2020 · 15 comments

Intel HAXM is not installed in Android studio although after installing it manually from github repository. #274

Manishkumar2019 opened this issue Mar 12, 2020 · 15 comments

Comments

Manishkumar2019 commented Mar 12, 2020 •

msiexec_NvCsluLZbB

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

studio64_oVedPgfWrP

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.

studio64_qs5f6CfZWI

Also there is showing no virtualization support.

InkedSpeccy64_seVw07rdvG_LI

How can I solve this issue.

The text was updated successfully, but these errors were encountered:

Manishkumar2019 commented Mar 13, 2020

First up all thanks for your response wayne-ma. Ya i can share you the answer you have asked.

  1. you can see here the details of the android studio after updating it.

and

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

host

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

hhh

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?

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

OptionalFeatures_1N0EJSSc04

How can i solve this issue. so i can run again the android emulator in Android studio??

Contributor
wayne-ma commented Mar 17, 2020

First up all thanks for your response wayne-ma. Ya i can share you the answer you have asked.

  1. you can see here the details of the android studio after updating it.

and

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

host

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

hhh

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?

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

OptionalFeatures_1N0EJSSc04

How can i solve this issue. so i can run again the android emulator in Android studio??

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?

Manishkumar2019 commented Mar 17, 2020 •

mkk

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.

Contributor
wayne-ma commented Mar 18, 2020

@Manishkumar2019 So exiting to know that you fixed the issue, now let us close it here.

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search

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.

This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

intel / haxm Public archive

Installation Instructions on Windows

Wenchao Wang edited this page Sep 24, 2021 · 17 revisions

Clone this wiki locally

Table of Contents

    • Introduction
    • Prerequisites
    • System Requirements
    • Downloading Intel HAXM
    • Installing Standalone Intel HAXM on Windows
    • Installing HAXM silently on Windows
    • Installing Intel HAXM on Windows via Android Studio
    • Removing Intel HAXM
    • Using Intel HAXM
    • Troubleshooting
    • Tips and Tricks

    Introduction

    This document will guide you through installing the Intel Hardware Accelerated Execution Manager (Intel HAXM), a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology (Intel VT) to speed up Android development.

    Prerequisites

    Intel HAXM requires the Android SDK to be installed (version 17 or higher). For more information, refer to the Android developer website (https://developer.android.com/studio/index.html).

    System Requirements

    Hardware Requirements:

    • Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality
    • At least 4 GB of available RAM, 8 GB recommended
    • Microsoft Windows 10 64-bit
    • Microsoft Windows 8 and 8.1 64-bit
    • Microsoft Windows 7 64-bit*

    To determine the capabilities of your Intel processor, visit http://ark.intel.com.

    Additionally, Intel HAXM can be used only with Android x86 and x86_64 emulator images provided by Intel. Intel HAXM cannot be used with ARM Android emulator images or non-Intel x86 or x86_64 Android emulator images.

    [*] For Windows 7 Service Pack 1, Microsoft security update KB3033929 is required when upgrading HAXM to the latest version (see Known Issues for details). Otherwise, keep using HAXM v7.3.2 instead.

    Downloading Intel HAXM

    Overview
    Intel HAXM can be installed either through the Android SDK Manager (recommended), or manually, by downloading the installer from Intel’s website.
    Note:
    Intel HAXM does not currently check for updates automatically. To get the latest version, download the Intel HAXM package using the Android SDK Manager (recommended) or from the Intel Developer Zone Android developer site.

    Downloading Manually

    1. Go to https://github.com/intel/haxm/releases.
    2. Choose the Intel HAXM installer package for your platform.
    3. Extract the installer and follow installation instructions for your platform.


    If there is no such option, manually add https://dl.google.com/android/repository/extras/intel/addon2-1.xml to the SDK Manager’s list of add-on sites via Tools > Manage Add-on Sites… > User Defined Sites > New…

  • Click the «Install package…» button.
  • Review the Intel Corporation license agreement. If you accept the terms, select Accept and click Install.
  • 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.
  • Run the installer inside the /extras/intel/Hardware_Accelerated_Execution_Manager/ directory and follow the installation instructions for your platform.
  • Installing Standalone Intel HAXM on Windows

    Warning: Intel HAXM installation will fail if your system does not meet the system requirements, including support for Intel processor features, such as Intel Virtualization Technology (Intel VT).

    1. Download the installer package from https://github.com/intel/haxm/releases or using the SDK manager.
    2. Run the installer (and accept the UAC prompt, if applicable).
      If an older version Intel HAXM is already installed, you will see a notification dialog: Click «Yes» to upgrade Intel HAXM, or click «No» to exit the installation and keep the currently installed version of Intel HAXM.
    3. You will see a setup wizard screen:

    Click «Install»
    Note: You can access the documentation by clicking Intel HAXM Documentation

    When the Intel HAXM installation is finished, you will see the completion screen:

    Click «Finish» to exit the installer. Intel HAXM is now installed and ready to use.

    To verify that Intel HAXM is running, open a Command Prompt window with administrator privileges (Run as Administrator) and execute the following command:

    sc query intelhaxm

    If Intel HAXM is working, the command will show a status message indicating that the state is: «4 RUNNING».

    To stop or start Intel HAXM, use these commands:

    sc stop intelhaxm

    sc start intelhaxm

    Installing HAXM silently on Windows

    1. Download the installer package from https://github.com/intel/haxm/releases and extract it locally.
    2. Enter the extracted folder and run below command in an elevatedCommand Prompt or Windows PowerShell.

    The installer will check the system environment first. If the installation is successful, it will output as below.

    Intel HAXM installed successfully!

    The installer executable itself also supports to run in silent mode by passing /S on the Command Prompt or Windows PowerShell, e.g.,

    Please note that the parameter /S must be in uppercase.

    Installing Intel HAXM on Windows via Android Studio

    1. Download the Android Studio installer package from http://developer.android.com/sdk/index.html
    2. Run the Android Studio installer

    Select Performance (Intel HAXM) and click Next

    Accept the Android SDK License Agreement and the Intel HAXM License Agreement

  • Select the install location for Android Studio and Android SDK (if you do not have it already on your system).
  • Configure the amount of RAM available for Intel HAXM

    Note: This setting is obsolete since Intel HAXM 6.2.0.

  • Click Next and then Install. Wait until the installation has finished. Intel HAXM is now installed and ready to use.
  • To verify that Intel HAXM is running, open a Command Prompt window with administrator privileges (Run as Administrator) and execute the following command:

    sc query intelhaxm

    If Intel HAXM is working, the command will show a status message indicating that the state is: «4 RUNNING».

    To stop or start Intel HAXM, use these commands:

    sc stop intelhaxm

    sc start intelhaxm

    Removing Intel HAXM

    Warning: Close all instances of the Android x86 emulator before removing Intel HAXM. Intel HAXM cannot be removed while in use.

    To uninstall Intel HAXM, use Uninstall a program in the Control Panel or uninstall in silent mode as below.

    1. Launch an elevatedCommand Prompt or Windows PowerShell.
    2. Enter the extracted folder of installer package, which is previously downloaded from https://github.com/intel/haxm/releases, and run below command.

    Important: Removing Intel HAXM will disable acceleration of all Intel x86 Android emulators. Existing x86 Android Virtual Devices will not boot.

    Installing Intel HAXM again will re-enable Android emulator acceleration.

    Using Intel HAXM

    Intel HAXM requires an Android x86 system image provided by Intel. These images can be downloaded through the Android SDK manager or manually from the Intel Developer Zone website.

    Intel x86 Android emulator images will automatically be executed using the «emulator-x86» binary, provided with the Android SDK. If Intel HAXM is installed and working, emulation will be accelerated by Intel HAXM (using Intel Virtualization Technology).

    Troubleshooting

    Execute Disable Bit capability error

    When installing Intel HAXM, you may encounter an error regarding Execute Disable Bit support. This error message can be triggered by the following conditions:

    • Execute Disable Bit is not supported by your computer’s processor.
    • Execute Disable Bit is not enabled.

    Intel HAXM requires an Intel processor with Execute Disable Bit functionality and cannot be used on systems lacking this hardware feature. To determine the capabilities of your Intel processor, visit http://ark.intel.com.

    Execute Disable Bit is not enabled

    In some cases, Execute Disable Bit may be disabled in the system BIOS and must be enabled within the BIOS setup utility. To access the BIOS setup utility, a setup key must be pressed during the computer’s boot sequence. This key is dependent on which BIOS is used but it is typically the F2, Delete, or Esc key. Within the BIOS setup utility, Execute Disable Bit may be identified by the terms «XD», «Execute Disable», «No Execute», or «Hardware DEP», depending on the BIOS used.

    Windows hosts may need to enable DEP (Data Execution Prevention) in addition to Execute Disable Bit, as described in this Microsoft KB article: http://support.microsoft.com/kb/875352.

    For specific information on entering BIOS setup and enabling Execute Disable Bit, please contact your hardware manufacturer.

    Intel Virtualization Technology (Intel VT-x) capability

    When installing Intel HAXM, you may encounter an error regarding Intel VT-x support. This error message can be triggered by the following conditions:

    • Intel VT-x is not supported by your computer’s processor
    • Intel VT-x is not enabled

    Intel HAXM requires an Intel processor with Intel VT-x functionality and cannot be used on systems lacking this hardware feature. To determine the capabilities of your Intel processor, visit? http://ark.intel.com.

    Intel VT-x not enabled

    In some cases, Intel VT-x may be disabled in the system BIOS and must be enabled within the BIOS setup utility. To access the BIOS setup utility, a key must be pressed during the computer’s boot sequence. This key is dependent on which BIOS is used but it is typically the F2, Delete, or Esc key. Within the BIOS setup utility, Intel VT may be identified by the terms «VT», «Virtualization Technology», or «VT-d.» Make sure to enable all of the Virtualization features.

    For specific information on entering BIOS setup and enabling Intel VT, please contact your hardware manufacturer.

    Tips and Tricks

    Below are some recommendations to get the best experience out of the Android emulator using the Intel HAXM driver.

    • Enable the GPU acceleration in the AVD Manager for your image. The Intel HAXM driver executes most CPU instructions natively through Intel Virtualization Technology in the processor and the GPU acceleration offloads the OpenGL calls to the host GPU.
    • Make sure the «ANDROID_SDK_ROOT» environment variable is set either in Control Panel > System > Advanced System Settings > Environment Variables or manually each time a new command prompt is launched. The below typically refers to «c:\Users\\AppData\Local\Android\sdk»
      • set ANDROID_SDK_ROOT=
      • %ANDROID_SDK_ROOT%\tools\emulator –avd -verbose –show-kernel
      • Open an elevated (i.e. Run as administrator) Command Prompt.
      • $bcdedit /set hypervisorlaunchtype off
      • Reboot your machine

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *