Android Studio running on VMware virtual machine: KVM is not installed

Vicent picture Vicent · Jul 6, 2015 · Viewed 33.4k times · Source

I'm running Android Studio on a Ubuntu VMWare virtual machine. The problem is that when I try to run an app with the AVD emulator I get the following errors in the console:

/home/verite/Android/Sdk/tools/emulator -avd Nexus_5_API_22_x86 -netspeed full -netdelay none
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure KVM is properly installed and usable.
CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing).

I've tried to solve the problem by doing this:

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
sudo adduser `id -un` libvirtd
sudo adduser `id -un` kvm

and restarting, but it doesn't work. When I issue the command:

sudo kvm-ok

I get

INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used

Could someone tell me how to fix the problem, please?

Thanks

Answer

Balira picture Balira · Dec 25, 2015

I faced the same problem. I searched and I found the solution it works with me now:

In VMware:

  1. Open Virtual machine setting.
  2. Go to the processor.
  3. Check the virtualize Intel VT-x/EPT or AMD-RVI option.
  4. Click ok and run the Virtual machine, it should work fine with you.

Hope that works with you.

This link HW virtualization in VMware (KVM - Android Studio) helped me to find the solution.