Ubuntu – How to KVM be located by Android Studio on Ubuntu 14.04 LTS

14.04androidkvmvirtualization

When running the emulator, Android Studio reports the following message:

Please ensure KVM is properly installed and usable.

CPU acceleration status: KVM is not installed on this machine
(/dev/kvm is missing)

However, KVM is installed as shown by the following:

which kvm

/usr/bin/kvm

Thanks…

Best Answer

See the instructions here: https://help.ubuntu.com/community/KVM/Installation

In short:

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

Then log out and back in again, and check that it is working by running:

virsh -c qemu:///system list

Some more instructions from Intel: https://software.intel.com/en-us/blogs/2012/03/12/how-to-start-intel-hardware-assisted-virtualization-hypervisor-on-linux-to-speed-up-intel-android-x86-emulator