RThomP RThomP - 1 year ago 143
Android Question

Android Studio Emulator issues - HAXM, VT-x

I'm trying to develop an Android app with Android Studio (running on Windows 8.1 Pro) but I can't get the emulator to work, and don't want to faff around trying to load each iteration of my app onto my phone.

The error I get when I try to start the emulator (Nexus 5, Android 7.0 x86, all emulator images are downloaded and installed): http://puu.sh/rHjgJ/f2d0001076.png

I have verified that VT-x is enabled in my BIOS. On top of that I have no idea why it tells me anything in regards to a linux distro; as I mentioned above I'm running this on Windows 8.1.

I have also verified Intel Virtualization Technology is enabled in the BIOS.

What is the path where I can verify if /dev/kvm exists or not?

Or, more importantly, how can I get this retched thing to work?

Other things I've tried:

  • Manually installing intel HAXM (6.0.4) which gives me the following error:
    enter image description here

  • Re-installing via the Android Studio SDK manager (same error as manually installing)

Any suggestions?

Answer Source

Well, I figured it out, although I still can't get a faster x86 emulator to run.

I tried creating a new virtual device from scratch using the external AVD manager, but even after downloading the ARM 64 v8a System Image through the external SDK manager, I couldn't get my custom virtual device to work.

What did work is opening Android Studio's built-in AVD manager (the AVD Manager button on the top tool-bar), which prompted me to download the system image for that virtual device (right next to the Play/Start button for that device). Once that downloaded and extracted, I could successfully start the virtual device and my emulator works.

It's a little sluggish and I bet if I could get the "proper" x86 emulator that Android Studio recommends using it would be more snappy, but it's better than nothing.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download