0

I installed Android Studio (ver 3.4). When I created AVD, it shows me a warning: /dev/kvm device: permission denided. Troubleshoot. I push "Troubleshoot", then it shows grant curent user access to /dev/kvm. I tried sudo adduser "user" or sudo chown "user" /dev/kvm, but it did not work and return "invalid user" or some error?

How can I solve this problem? I'm very very happy to listen your idea.

New contributor
Trần Hoàng Kim Long is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • If you did this sudo chown "user" /dev/kvm, then it should have been this sudo chown $USER /dev/kvm! – George Udosen May 16 at 11:20
0

Install kvm using command

sudo apt install qemu-kvm

then execute these commands

sudo adduser $USER kvm

sudo chown $USER /dev/kvm

restart system once done

Your Answer

Trần Hoàng Kim Long is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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