android -/dev/kvm 权限被拒绝的 android 模拟器

标签 android android-studio ubuntu android-emulator

嗨,我在 Ubuntu 18.0 上安装了 android stdio,然后我尝试启动 android 模拟器,但出现错误

/dev/kvm permission denied

我尝试了一些 stackoverflow 问题,但它并没有解决我的问题,这些问题链接是

1. Android Studio: /dev/kvm device permission denied

2。 KVM is required to run this AVD. Unknown Error! Please file a bug against Android Studio

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

t 尝试了所有这些,但它没有解决我的问题,我也授予 chmod 777 权限

chmod 777 -R /home/halfix/Android/Sdk/emulator/

我仍然有/de/kvm 权限划分

最佳答案

Android studio 无法访问/dev/kvm 目录。允许访问运行

sudo chmod 777 -R /dev/kvm

它会询问您的密码。之后重启 android studio。

关于android -/dev/kvm 权限被拒绝的 android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50328656/

相关文章:

android - 在应用程序加载时隐藏软键盘

java - 当循环到另一个列表java时尝试将元素添加到列表中

android - 自定义弹出窗口,例如按钮的 infoWindow

passwords - 如何更改 Android Studio 中存储的密码?

java - 我该如何处理这个错误使其正确 ?"invalid method declaration; return type required"

amazon-web-services - Ubuntu 在免费 AWS 层上运行 LAMP 和 Certbot 时出现 SSL 超时问题

mysql - go-mysql : authentication plugin not supported while connecting from go app container to mysql container

用于上传文件的 PHP 脚本在终端中有效,但不能像使用 incron 自动调用一样

Android 多人实时游戏,最好的协议(protocol)/通信是什么?

android - 在Android Studio应用程序上添加声音