3

I just re-installed Android Studio 2.1.1 on the same PC running Windows 7 32-bit after a year. Everything other than the emulator works perfectly.

The AVD Manager displays an error message: /dev/kvm is not found. When I click on the Troubleshoot button, it says

Enable VT-x in your BIOS security settings, ensure that your Linux distro has working KVM module.

Also, when I try running an emulator, an error pops up saying

Intel HAXM is required to run this AVD.

/dev/kvm is not found.

Enable VT-x in your BIOS security settings, ensure that your Linux distro has working KVM module.

I have disabled VT-x, but I can't find Hyper-V anywhere on my PC. Intel x86 Emulator Accelerator (HAXM installer) is installed. After looking for solutions online, I tried to install HAXM manually using the installer available on their website (Installer) but I got an error saying

Failed to configure driver: unknown error. Failed to open driver

Here are some of the StackOverflow questions that I referred to:

Android Emulator Error in windows

HAXM installed successfully, but not recognized by Android Studio 2.1

Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)

Community
  • 1
  • 1
yashmathur
  • 65
  • 1
  • 3
  • 8

2 Answers2

6

Your machine might not even support Virtualization.
To fix this, you just have to run the emulator with the system image armeabi.
Go to your Android Virtual Device Manager, and create a new device. Select your hardware, then click next. Here, it is very important to select a system image with the ABI column saying "armeabi" or "armeabi-v7a". It should look like this:enter image description here Continue with the steps, and your emulator should work and run properly.

AkashBhave
  • 749
  • 4
  • 12
0

The problem happens due to two factors:

  1. VT-x is not enabled in the Bios and Intel Virtualization Technology is not enabled in the Bios.

    Solution: In your BIOS, go to Advanced Mode -> CPU Configuration -> Intel Virtual Technology and Enable it. Go back to Advanced and find your way to the VT-x option and enable it.

  2. The SDK tool called: Intel x86 Emulator Accelerator (HAXM installer) is installed in the SDK Manager.

    Solution: It is only an installer and we have to install the tool manually by double-clicking the actual installer in the location: C:\Users\user\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager. Double-click the file haxm_check.exe and install the tool.

Restart your Android Studio and run the Emulator.

Community
  • 1
  • 1