Android Studio: /dev/kvm device permission denied

百般思念 提交于 2020-01-25 05:20:52

https://stackoverflow.com/questions/37300811/android-studio-dev-kvm-device-permission-denied

To check the ownership of /dev/kvm use

ls -al /dev/kvm

The user was root, the group kvm. To check which users are in the kvmgroup, use

grep kvm /etc/group

This returned

kvm:x:some_number:

on my system: as there is nothing left to the final :, there are no users in the kvm group.

To add the user username to the kvm group, you could use

sudo adduser username kvm

which adds the user to the group, and check once again with grep kvm /etc/group.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!