I can't install intel HAXM

前端 未结 24 1191
庸人自扰
庸人自扰 2020-11-28 19:06

I installed Android Studio and I had no problems with that. However, when I tried to run the emulator, it said that Intel HAXM was not installed.

So I found the inst

相关标签:
24条回答
  • 2020-11-28 19:24

    I probably tried all the solutions mentioned above but all in vain. To summarize, I did:

    • I enable the virtualization going to BIOS setting.

    • Uncheck Hyper-V option by going to Turn Windows features on or off.

    • Download HAXM directly from the website https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager and install it.

    • Uninstall and reinstall Android Studio.

    • Copy the HAXM from my another system where HAXM was working fine, from the location C:\Users\UserName\AppData\Local\Android\Sdk\extras\intel

    Nothing worked for me. What worked for me: I noticed the issue "unable to run mksdcard sdk tool" when I try to download SDK platform.So after some research, I found some SDK tools such as mksdcard.exe require Microsoft Visual C++ runtime 2015-2019. So based on my system type,(for me it was x64) I downloaded the latest Microsoft Visual C++ Redistributable for Visual Studio 2019 from the link https://visualstudio.microsoft.com/downloads/. Detailed answer given here: Android Studio install failed - unable to run mksdcard sdk tool in Windows

    After downloading and installing Visual C++ ,the error "unable to run mksdcard sdk tool" was fixed, also when I try to install HAXM after this, it was install successfully. Everything was fine. I was also able to create AVD now(which was also a problem when HAXM was not install).

    0 讨论(0)
  • 2020-11-28 19:25

    I think that you would install Android SDK files not in (your PC)\Appdata\Local\Android\sdk (default Path). Also there was nothing when you double click 'intelhaxm-android.exe' file.

    If it was, Browse (your PC)\Appdata\Local\Temp\intel\HAXM\6.0.3(yyyy-mm-dd_hh_mm_ss) (or silent), then you must see 'hax64' (or hax) file, and simply invoke this file.

    0 讨论(0)
  • 2020-11-28 19:25

    I tried the following: 1. Directly installed HAXM from Intel 2. Tried multiple times to un-install and re-install Android Studio with same default paths in C drive. 3. Un-install various other software including QEMU which also uses HAXM, which might have been interfering with Android recognizing HAXM.

    Solution was: 1. To un-install Android Studio and install it on D drive including the SDK. This solved the problem.

    0 讨论(0)
  • 2020-11-28 19:26

    It should prompt you to install HAXM when creating a new virtual device:

    Tools > Android > AVD Manager
    

    It will install through Android Studio automatically.

    0 讨论(0)
  • 2020-11-28 19:27

    I faced this problem.I got the solution too.It will work.

    Step 1: Go to your BIOS settings and check that INTERNET VIRTUAL TECHNOLOGY is Enabled or Disabled.

    And make sure HYPER V is disabled. To disable it : a)Go to Control Panel b)Click on Programs(Uninstall a Program) c)Then click on Turn Windows features on or off , then look for HYPER-V and untick it. And Restart. If disabled then enable it.

    Step 2: Try to install Intel HAXM now and restart. If It shows same problem again. go to Step 3.

    Step 3: You have to disable Digitally Signed Enforcement. To disable it permanently you have to make sure that Secure Boot option is disabled in your system.

    How to check ?

    Answer is given in the following link. I found it in Internet.[Thanks whoever made that blog]

    link : http://www.windowspasswordsrecovery.com/win8-tips/how-to-disable-uefi-secure-boot-in-windows-8-1-8.html

    Step 4: Now restart again.

    To disable driver signature enforcement permanently in Windows 10, you need to do the following:

    1.Open an elevated command prompt instance.
    2.Type/paste the following text:

         `bcdedit.exe /set nointegritychecks on`
    

    or Windows 10

         `bcedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS`
    

    Windows 10 disable driver signature enforcement

    Restart Windows 10.

    *If you somehow want to enable it again:

    1.Type/paste the following text:

         `bcdedit.exe /set nointegritychecks off`
    
    0 讨论(0)
  • 2020-11-28 19:27

    How I solved this problem:

    Step-1: Downloaded the Android Studio and installed it. But it failed to install HAXM.

    Step-2: Then ran the AVD. Then it prompts to create a virtual device. But it also failed.

    Step-3: I downloaded the latest HAXM from intel's GitHub source. From here github.com/intel/haxm/releases/latest

    Step-4: Then installed HAXM manually. Documentation is here: Installing Standalone Intel HAXM on Windows

    Step-5: Then again tried to create a virtual device of Pie. It successfully created it.

    But if your Step-5 fails anyhow, there may another solution: When downloading the .zip file, it will show you the SDK path and also the source path of the .zip file. So you can manually download the .zip and can place it to the SDK path folder. Then again can try to create the virtual device.

    0 讨论(0)
提交回复
热议问题