运行此 AVD 需要 KVM.未知错误!请提交针对 Android Studio 的错误 [英] KVM is required to run this AVD. Unknown Error! Please file a bug against Android Studio

查看:35
本文介绍了运行此 AVD 需要 KVM.未知错误!请提交针对 Android Studio 的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

操作系统:CentOS Linux 7
Android Studio 版本:2.3.3

Operating System : CentOS Linux 7
Android Studios version : 2.3.3

命令的结果:lsmod |grep kvm

我的计算机支持虚拟化,但是当我尝试启动模拟器时出现此错误:

My computer supports virtualization but when i try to start the emulator I get this error:

2017-06-19 19:11:58,120 [  98282]   INFO - figurations.GeneralCommandLine - Cannot run program "/home/folder/Android/Sdk/emulator/emulator-check": error=13, Permission denied 
java.io.IOException: Cannot run program "/home/folder/Android/Sdk/emulator/emulator-check": error=13, Permission denied
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:368)
    ... more
2017-06-19 19:15:28,593 [ 308755]   INFO - figurations.GeneralCommandLine - Cannot run program "/home/folder/Android/Sdk/emulator/emulator": error=13, Permission denied 
java.io.IOException: Cannot run program "/home/folder/Android/Sdk/emulator/emulator": error=13, Permission denied
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: error=13, Permission denied
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    ... more

推荐答案

已更改/home/folder/Android/Sdk/emulator/文件夹中的权限

Changed permissions in the /home/folder/Android/Sdk/emulator/ folder

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

这篇关于运行此 AVD 需要 KVM.未知错误!请提交针对 Android Studio 的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆