android studio kvm is required to run this avd 1

android studio kvm is required to run this avd

#Starting with Ubuntu 18.04 and Linux Mint Tara you need to install qemu-kvm
sudo apt install qemu-kvm

#Check the ownership of /dev/kvm
ls -al /dev/kvm

#Check which users are in the kvm group
grep kvm /etc/group

#Output from the above command

#kvm:x:some_number:
#If there is nothing rightwards of the final :, there are no users in the kvm group.

#To add the current user to the kvm group
sudo adduser $USER kvm

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

#A restart may be required for the permissions to take effect.

Here is what the above code is Doing:
1. Installing qemu-kvm
2. Checking the ownership of /dev/kvm
3. Checking which users are in the kvm group
4. Adding the current user to the kvm group

Similar Posts