Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create an Android Virtual Device "/dev/kvm" is not found on Windows

I have been using Android Studio on my computer for about two years now. I recently updated to Windows 10, and have started having a few issues, most of which have been fixed.

However, now I am unable to create emulators of any phone, and Android Studio says "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."

Yet this laptop is not running Ubuntu or any other form of Linux. I have tried installing the Intel HAXM from https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement but the emulator is still getting the same error.

Anyone know what I can do to fix this issue?

like image 861
Kinoscorpia Avatar asked Apr 28 '16 17:04

Kinoscorpia


People also ask

Why my AVD is not working?

Android Virtual Devices fail to launch on ChromeOS On ChromeOS, Android Virtual Devices (AVDs) might fail to launch because the libnss3 dependency is missing. To launch the AVDs successfully, run sudo apt install libnss3 to manually install the libnss3 library.


2 Answers

I met with the same problem.After searching for answers,I didn't get an accurate answer.I tried in different ways.Finally,I worked it out. First,ensure you have already downloaded HAXM,and enabled VT-x in your BIOS security settings. Second,double click intelhaxm-android.exe in \Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager,install it. This way works for me.

like image 110
smeagolye Avatar answered Oct 04 '22 19:10

smeagolye


So I ran into this issue also, however, VT was enabled in the BIOS and I didn't have Hyper-V.

I was able to fix it by uninstalling HAXM

  1. Navigate to

    Control Panel > Programs > Programs and Features

  2. Find

    Intel Hardware Accelerated Execution Manager

  3. Click

    Uninstall

and then reinstalling it,

  1. Navigate to SDK folder

    default path >> C:\Users\username\AppData\Local\Android\Sdk

  2. Drill down to the HAXM sub-directory

    \extras\intel\Hardware_Accelerated_Execution_Manager

  3. Run HAMX installer

    intelhaxm-android.exe

finally, I was able to launch Android Studio and run the emulator without the VT-x message.

like image 39
chewpoclypse Avatar answered Oct 04 '22 17:10

chewpoclypse