我用的是Ubuntu 14.04。我最近安装了Android,但是每当我尝试运行Hello应用程序时,我都会得到以下错误:
/home/praveen/Android/Sdk/tools/emulator -avd Nexus_6_API_21 -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).发布于 2014-12-24 15:37:27
要么您的CPU不支持虚拟化,要么在bios中禁用它。进入你的bios,看看你是否能找到一个设置来启用它。
发布于 2014-12-24 08:56:51
使用下面的命令检查KVM是否安装在机器上,
kvm-ok 输出:
INFO: /dev/kvm exists
KVM acceleration can be used像下面这样的输出意味着
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used在这个场景中,需要使用下面的命令安装KVM,
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils希望这能有所帮助。
发布于 2015-02-11 11:47:49
HP-EliteBook-820-G1:/opt/android-studio/bin$ sudo /usr/sbin/kvm-ok
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm_intel
INFO: Your CPU supports KVM extensions
INFO: KVM (vmx) is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),
and then hard poweroff/poweron your system
KVM acceleration can NOT be used使用以下命令来设置
sudo modprobe kvm_intel现在没事了
https://askubuntu.com/questions/564910
复制相似问题