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

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

Closed
Manishkumar2019 opened this issue Mar 12, 2020 · 15 comments

Comments

@Manishkumar2019
Copy link

Manishkumar2019 commented Mar 12, 2020

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

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_oVedPgfWrP

studio64_qs5f6CfZWI

Also there is showing no virtualization support.

InkedSpeccy64_seVw07rdvG_LI

How can I solve this issue???

@wayne-ma
Copy link
Contributor

Hi @Manishkumar2019 , thanks for reporting this issue. It is weird that your CPU shows virtualization 'Not supported'. May I know more info from your side? Thanks in advance.

  1. What is your Android studio version?Canary or Stable?What is the version number you are using now?
  2. Could you use HAXM before upgrading the Android studio?
  3. What is your host OS version?
  4. Could you try to download and install the release version from the HAXM release page?
  5. As Hyper-V,Sandbox,Windows Hypervisor Platform(WHPX) and Windows Subsystem for Linux 2 (WSL2) conflict with HAXM, please disable them on Windows 10 build 1903 or higher version.

@Manishkumar2019
Copy link
Author

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

@wayne-ma
Copy link
Contributor

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?

  1. 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.
  2. Remove/Uninstall haxm either with Android studio UI or the haxm script in command terminal.
    eg.$silient_install.bat -u
  3. Install the haxm again either with Android studio or manually with haxm script. eg.$silent_install.bat
  4. 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
    pr274

@Manishkumar2019
Copy link
Author

Manishkumar2019 commented Mar 17, 2020

Thank you @wayne-ma for your support, i have fixed the android emulator now.
mkk

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.

@wayne-ma
Copy link
Contributor

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

@Marquis142
Copy link

hello please help to install Haxm

@Manishkumar2019
Copy link
Author

@Marquis142 , what type of issues are you having while installing intel HAXM?

@navkaurz
Copy link

navkaurz commented Mar 2, 2021

i am facing somewhat same error. hope you guys can help me.

@wayne-ma
Copy link
Contributor

wayne-ma commented Mar 5, 2021

i am facing somewhat same error. hope you guys can help me.

Hi @navkaurz ,please raise a new issue and provide the details.

@hobbymind
Copy link

hi I too got similar issue,i had installed android studio and installed virtual device the install intel Haxm is coming but i had installed it and it was showing successfully installed but we i try to open virtual device it is showing again

@wcwang
Copy link
Contributor

wcwang commented Sep 13, 2021

Thanks for your feedback. Could you install the latest HAXM release package and find the installation log in the %TEMP% folder, then check your system configurations according to the wiki page?

@hobbymind
Copy link

@wcwang Bro issue resolved the problem was due to virtualization was disabled in BIOS after enabling the HAXM installed successfully.Thanks for your time.

@AlokUpadhyay1
Copy link

hii i am facing same type error my HAXM is Installed but again says not instlled how to fix it.

@wcwang
Copy link
Contributor

wcwang commented Nov 10, 2021

Thanks for your report. Could you re-install the latest HAXM release package and find the installation log in the %TEMP% folder, then check your system configurations according to the wiki page?

@RonaldoSurdi
Copy link

Disable Hyper-V
and that's it :_)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants