I'm trying to install Android Studio, but it's showing this error. Is there a solution for this problem?
Try this :
Go to Control Panel → Program and Feature. Click on Turn Window Features on and off. Uncheck Hyper-V option and restart your system.
Now you should install HAXM with no error
As @Marcin Koziński said in Intel HAXM requires only to run the Emulator faster, still if you need to install HAXM then follow the steps.
- Restart your PC and go to BIOS
- In advanced option Enable Virtualization and save exit
- After Windows restarted go to sdk path of your Android Studio
- Find this path
\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
- Now run
intelhaxm-android.exe
executable
Now this would install HAXM software in your system. Note that your system must have Intel CPU not AMD
bozhang
If you are using Windows 10, then, be sure to disable "Windows Defender Credential Guard".
来源:https://stackoverflow.com/questions/32795704/failed-to-install-haxm-during-android-studio-installation