Android Studio: /dev/kvm device permission denied

后端 未结 27 3230
鱼传尺愫
鱼传尺愫 2020-12-02 03:12

When I try to run my Android app on an emulator I get this error:

/dev/kvm permission denied.

I checked the permissions and ad

27条回答
  •  囚心锁ツ
    2020-12-02 03:46

    I countered the same problem and to solve this issue just type the following commands in terminal for Linux clients

       sudo apt-get install qemu-kvm
    
        // type your password
    
       sudo chmod 777 -R /dev/kvm
    

    and after that try running simulator it'll work

提交回复
热议问题