-2

I'm finding difficult regarding KVM issue.

I need to create an emulator in my Android Studio. Thus, I have to enable virtualization in my CPU.

Virtualization is enable in the bios of my laptop, but it still says:

KVM 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.

I have installed KVM also

INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_intel
INFO: For more detailed results, you should run this as root
HINT:   sudo /usr/sbin/kvm-ok

I have latest KVM.

closed as unclear what you're asking by Anthon, xhienne, GAD3R, Stephen Rauch, roaima Sep 28 '17 at 14:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    This is a Q&A site, and quite a few people are here to help Answer other peoples' Questions. Other people might just come for existing answers as their question was already posted here. But your post has no question, so it doesn't really belong on this site. Do you want to know if other virtualization techniques are easier to get working? – Anthon Sep 28 '17 at 10:19
  • 3
    Have you tried commands showin in HINT section? – myaut Sep 28 '17 at 10:33
2

See this tutorial: Speeding Up the Android* Emulator on Intel® Architecture

You need section 2.3.1. Installation of KVM

And:

The next step is to install the KVM and a few other packages needed. To do so, type

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

0

There is two solution for the problem, a simple and a good.

  • The simple solution: use an android/arm emulation, it doesn't need kvm (but it will be slow).
  • The good solution: nearly all of the today's CPUs have VT-x emulation, if your laptop is enough strong for the Android Studio, it surely has one.
    • Check your laptop bios, and turn it on.
    • Check your kernel, if the kvm device exists.
    • If it doesn't, then modprobe kvm.

Not the answer you're looking for? Browse other questions tagged or ask your own question.