Ubuntu 14 Android Studio 3 xrdp /dev/kvm permission denied

I had this mistake with Android Studio 3.0.1 on Ubuntu 18.04 when I run emulator. You can try this answer. To add the user username to the kvm group, you could use:

sudo apt install qemu-kvm
sudo adduser $USER kvm

In my case it worked, albeit with a re-login required after whole process.


it is too late answer , may be help another users .

1.i tried :sudo setfacl -m u:UserName:rwx /dev/kvm . and it works .

2.in the android studio you need to change : tools> avd manager >(chose the pen to edit your device and change 'graphics' from automatic to software ) to avoid emulator drawable error