Android - Android Studio: /dev/kvm device permission denied
Good day,
I have installed Android studio on Ubuntu:
And if I open a project in Android studio and want to run IDE emulation (from AVD manager) on Nexus or anything else, it throws a mistake:
Android Studio: /dev/kvm device permission denied
It annoys me that I don't see the output of my application as it looks directly on a mobile device. Anyone please advise? Thanks
Good day,
Android Studio bug: /dev/kvm device permission denied you could try on ubuntu like this:
Alternatively, always change the owner of /dev/kvm while running Android Studio:
I have installed Android studio on Ubuntu:
sudo apt install openjdk-8-jre openjdk-8-jdk
sudo snap install android-studio --classic
And if I open a project in Android studio and want to run IDE emulation (from AVD manager) on Nexus or anything else, it throws a mistake:
Android Studio: /dev/kvm device permission denied
It annoys me that I don't see the output of my application as it looks directly on a mobile device. Anyone please advise? Thanks
REPLY
Good day,
Android Studio bug: /dev/kvm device permission denied you could try on ubuntu like this:
sudo adduser user kvm
sudo usermod -aG kvm user
sudo usermod -aG libvirt user
Alternatively, always change the owner of /dev/kvm while running Android Studio:
sudo chown user /dev/kvm