Solution for VT-x is disabled in BIOS error in emulator in Android Studio

       When starting an emulator in Android Studio to run the program, the following error message will appear: "Intel HAXM is required to run this AVD, VT-x is disabled in BIOS". Here is the solution:

  1. First, check whether Download Intel x86 Emulator Accelerator (HAXM installer) is installed in SDK Manager. If it is not installed, download and install Download Intel x86 Emulator Accelerator (HAXM installer) in SDK Manager.
  2. Go to the SDK directory (usually C:\Users\Administrator\AppData\Local\Android\sdk), find the file intelhaxm-android.exe along the extras > intel > Hardware_Accelerated_Execution_Manager directory in this directory, install it and run it.
  3. During the installation process, you may encounter such an error message: "Intel virtualization technology (vt, vt-x) is not enabled", don't worry, then you just need to press F2 or DELETE key to enter the BIOS interface in " Find "Intel Virtualization Technology" in "configurations" and set it to Enable.
  4. Restart Android Studio, then start the AVD again. 
    If successful, it may take a few minutes to display the virtualizer window.
  5. Note that if running intelhaxm-android.exe shows that the computer has been installed, and the "Intel Virtualization Technology" in the BIOS is in the Enable state, but the emulator still cannot be started, then run intelhaxm-android.exe to select remove, and run again to reinstall ntelhaxm -android, then you can start the emulator.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326001604&siteId=291194637