Anshu Dwibhashi
Anshu Dwibhashi

Reputation: 4685

Android Studio - Virtual device launch fails

You might have seen a hundred questions already by the same title so let me just tell you why mine is different:

Here's the error:

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

Since all the solutions on stack overflow revolve around the above mentioned points I decided to post this quesiton as all the mentioned solutions didn't work, which I think is precisely because of me not having a supported processor, which brings me to my question:

Can I still somehow run a virtual device to test my apps? I have a Nexus 7 tab, but I still think testing on a virtual device is more convenient and also I can test more devices if they're virtual..

P.S. I'm running Windows 10 (technical preview) Build 9926.

Upvotes: 1

Views: 1619

Answers (4)

Sam
Sam

Reputation: 42417

It might still work if you launch the emulator from the command line with the -no-accel switch:

  1. Go to your SDK install directory
  2. Go to the tools folder
  3. Open a command/terminal window
  4. Type emulator -avd Nexus_5X_API_23 -no-accel (replace Nexus_5X_API_23 with the name of the AVD you've set up in Android Studio / Android Developer Tools)

Upvotes: 0

Ajinkya S
Ajinkya S

Reputation: 570

Or else you can use Genymotion emulator which is very fast and lightweight

Genymotion

Upvotes: 0

Harsh Dattani
Harsh Dattani

Reputation: 2129

In this case you can download and use ARM images that do not need hardware virtualization instead of using x86 system images. Need to tell you that ARM images will be very slow compared to x86 images.

You can download ARM image of respective APIs by selecting this option.

ARM Image Download

Upvotes: 1

Pasi Matalamäki
Pasi Matalamäki

Reputation: 1853

In order to run the emulator you have to use ARM image, because your PC doesn't support HAXM

Create a new AVD(Android Virtual Device) and on creation select image that uses ARM(such as armeabi-v7) so it will be emulated on your PC.

Here's picture of image selection image of image selection

If you don't have any arm images installed, you can download one from SDK manager

Upvotes: 1

Related Questions