Search code examples
androidandroid-studiovirtualizationintelbios

running HAXM for android studio


Every time I try to run it I get an error saying "This computer meets the requirements for HAXM, but Intel Virtualization Technology (VT-x) is not turned on. HAXM cannot be installed until VT-x is enabled." I need help solving this issue. I have already enabled Virtualization in my computers BIOS.


Solution


  • - Cpu has to support ND/XD (execute disable) bit & Virtualization (check ark.intel.com)
    - Dowwnload the separate installer rather than install thru Android studio at https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
    - Set vt in BIOS.
    - Turn off Hypervisor and ND bit on with these 2 commands:
    bcdedit /set hypervisorlaunchtype off
    bcdedit /set nx AlwaysOn
    - Turn off antivirus - especially Avast (Avast: disable "Enable hardware-assisted virtualization" under: Settings > Troubleshooting)
    Then either restart the PC or do a sc stop/start intelhaxm