问题:
试着在命令行界面(ctrl+alt+t)输入:
sudo apt-get install kvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package kvm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
上面写着不能装,可能安装方式不对,
接着输入:
kvm
Command 'kvm' not found, but can be installed with:
sudo apt install qemu-kvm
系统告诉我怎么安装,把上面一句抄下来输入,然后看进程条跑起来了,安装结束.
上面图片里还提示需要改bios中的VT(visualization technology)设置。重启电脑,按住F12进入bios,在security里找到virtualization选项,进入以后将VT设置成able,按F10保存退出。
打开androidstudio,发现虚拟机已经可以用了。