grant current user access to /dev/kvm in ubuntu 18.04 code example
Example 1: grant current user access to /dev/kvm
first install dependecies of kvm from android studio site then execute following command
Add your user to kvm group using:
sudo adduser $USER kvm
If still showing permission denied:
sudo chown $USER /dev/kvm
Example 2: permission denied /dev/kvm
grep kvm /etc/group