7

where is problem?

emulator: incompatible HAX module version 3 requirs minimum version 4

emulator: no accelarator found

emulator: failed to intialize HAX: invalid argument

Saif
  • 723
  • 6
  • 21
vahid khakpoor
  • 91
  • 1
  • 1
  • 3

7 Answers7

13

Open SDK Manager and update HAXM.

Tools > SDK Manager > SDK Tools > Intel x86 Emulator Accelerator (HAXM installer)

brybry
  • 163
  • 2
  • 9
  • 1
    I had the same issue. In the SDK manager I had HAXM verison 7.4, so I uninstalled it, then closed sdk manager, then opened it again and installed it again. – Dmitry Pryadkin Feb 13 '20 at 17:59
5

First of all go to Tools>SDK Manager>SDK Tools.

Then you can see the list of SDK developer tools available. SDK developer toolsThe tools which were already installed are checked and others are unchecked. Moreover, you can see the status as 'Not installed' or 'Installed'.

Most probably, 'Intel x86 Emulator Accelerator (HAXM installer)' is checked in your system. First uncheck it and then click on Apply button. Then program will redirect you for uninstallation of the accelerator.

After you get the message as Uninstallation successful, tick the checkbox again and click Apply button which will trigger the installation again.

After installation Go to Tools>AVD Manager and run whatever Virtual device you want.

Hareen Laks
  • 1,432
  • 2
  • 17
  • 33
4

I had faced the same error in the past while I was running Android Studio on my windows and after that I did research on the issue and I realized that I must start the HAXM installer manually so that I can use it:

I went to my Android SDK folder in my case it was C:\Users[user's name]\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager\ and there I found that intelhaxm-android.exe file, I clicked on the file and allowed it to finish

The installation process after that I launched my avd device again then it ran properly for me.

Hope this solution will help you in resolving your issues.

Harold Sota
  • 7,490
  • 12
  • 58
  • 84
  • 1
    In my case the file is haxm-7.6.5-setup.exe. It show confirmation that it already exists. I installed anyway, and launch the device again then it ran. – Harun Jun 10 '21 at 01:28
1

In my case after updating HAXM installer through SDK manager, I installed "intelhaxm-android.exe" (In windows OS) from path: \sdk\extras\intel\Hardware_Accelerated_Execution_Manager

Hamed Nikzad
  • 618
  • 8
  • 14
0

try this one:

Turn on "virtualisation" option in the BIOS setup while your PC/laptop boots up . If its already switched on, re-install haxm.exe and while installing, increase the size allotted to it. At least 2 GB. now, it should run properly.

Saif
  • 723
  • 6
  • 21
0

I too had the same issue. As the error message states, the installed HAX module is older version and cannot be compatible now. Go to Tools--> SDK Manager--> Click on SDK Tools tab and you can see the 'Intel x86 Emulator Accelerator (HAXM installer)' will be having an update.

Just check the check box and click on Apply and it will install the newer version. That's it.

Tip: Updating the remaining items is a best way to protect yourself from the future error.

Surya
  • 554
  • 5
  • 10
0

For Windows and VIsual Studio:

It turns out that installing and uninstalling HAXM from the Android SDK menu does not mean installing or uninstalling in reality.

Everything worked for me before, but I did not return to this for a long time. So, I had HAXM installed, but the old version. For some reason, Visual Studio could neither update nor uninstall it. When installing a new version, the old one was not replaced and was considered a priority, so installing the new version without removing the old one did not help.

So, how I fixed the error:

  1. "Removed" HAXM via Android SDK menu.
  2. Checked Device manager for HAXM entry (I did not delete anything here because I did not find it)
  3. Removed old HAXM folder from C:\Windows\System32\DRVSTORE\intelhaxm_*
  4. Launched the broken old HAXM installer to remove HAXM registry keys. Before manual intervention, he did not want to work, citing the absence of some kind of .msi file.
  5. Rebooted PC
  6. I made sure that the old HAXM was removed from the system with the command: C:\Program Files (x86)\Android\android-sdk\emulator> .\emulator-check.exe accel
  7. "Installed" HAXM via Android SDK menu. (At this step, nothing was installed - the command from the previous step still reported that there was no HAXM.)
  8. Installed HAXM from Intel official repository: https://github.com/intel/haxm/releases
  9. With command from step 6, I made sure that HAXM was installed correctly (for example, the output on my PC is shown):
PS C:\Program Files (x86)\Android\android-sdk\emulator> .\emulator-check.exe accel
accel:
0
HAXM version 7.7.0 (4) is installed and usable.
accel

After that, emulator should work. Perhaps Android Device Manager will glitch showing that the device emulator is already running (but I did not find qemu* and emulator processes). Probably, this can be solved more accurately, but I just deleted the existing device and created it again.

Alex A.
  • 422
  • 3
  • 12