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












6















Operating System : CentOS Linux 7

Android Studios version : 2.3.3



Result of the command: lsmod | grep kvm



lsmod | grep kvm



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



Android Studios 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









share|improve this question

























  • If you find the logs of the IDE, that would help

    – cricket_007
    Jun 19 '17 at 16:47











  • Where is it located?

    – Minathe
    Jun 19 '17 at 16:51











  • In linux? /var/log maybe? Or stackoverflow.com/questions/19784877/…

    – cricket_007
    Jun 19 '17 at 16:56











  • SOLVED By doing chmod 777 emulator/ -R

    – Minathe
    Jun 19 '17 at 18:15
















6















Operating System : CentOS Linux 7

Android Studios version : 2.3.3



Result of the command: lsmod | grep kvm



lsmod | grep kvm



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



Android Studios 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









share|improve this question

























  • If you find the logs of the IDE, that would help

    – cricket_007
    Jun 19 '17 at 16:47











  • Where is it located?

    – Minathe
    Jun 19 '17 at 16:51











  • In linux? /var/log maybe? Or stackoverflow.com/questions/19784877/…

    – cricket_007
    Jun 19 '17 at 16:56











  • SOLVED By doing chmod 777 emulator/ -R

    – Minathe
    Jun 19 '17 at 18:15














6












6








6


2






Operating System : CentOS Linux 7

Android Studios version : 2.3.3



Result of the command: lsmod | grep kvm



lsmod | grep kvm



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



Android Studios 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









share|improve this question
















Operating System : CentOS Linux 7

Android Studios version : 2.3.3



Result of the command: lsmod | grep kvm



lsmod | grep kvm



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



Android Studios 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






android android-studio kvm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 19 '17 at 18:14







Minathe

















asked Jun 19 '17 at 16:43









MinatheMinathe

328213




328213













  • If you find the logs of the IDE, that would help

    – cricket_007
    Jun 19 '17 at 16:47











  • Where is it located?

    – Minathe
    Jun 19 '17 at 16:51











  • In linux? /var/log maybe? Or stackoverflow.com/questions/19784877/…

    – cricket_007
    Jun 19 '17 at 16:56











  • SOLVED By doing chmod 777 emulator/ -R

    – Minathe
    Jun 19 '17 at 18:15



















  • If you find the logs of the IDE, that would help

    – cricket_007
    Jun 19 '17 at 16:47











  • Where is it located?

    – Minathe
    Jun 19 '17 at 16:51











  • In linux? /var/log maybe? Or stackoverflow.com/questions/19784877/…

    – cricket_007
    Jun 19 '17 at 16:56











  • SOLVED By doing chmod 777 emulator/ -R

    – Minathe
    Jun 19 '17 at 18:15

















If you find the logs of the IDE, that would help

– cricket_007
Jun 19 '17 at 16:47





If you find the logs of the IDE, that would help

– cricket_007
Jun 19 '17 at 16:47













Where is it located?

– Minathe
Jun 19 '17 at 16:51





Where is it located?

– Minathe
Jun 19 '17 at 16:51













In linux? /var/log maybe? Or stackoverflow.com/questions/19784877/…

– cricket_007
Jun 19 '17 at 16:56





In linux? /var/log maybe? Or stackoverflow.com/questions/19784877/…

– cricket_007
Jun 19 '17 at 16:56













SOLVED By doing chmod 777 emulator/ -R

– Minathe
Jun 19 '17 at 18:15





SOLVED By doing chmod 777 emulator/ -R

– Minathe
Jun 19 '17 at 18:15












2 Answers
2






active

oldest

votes


















11














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



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






share|improve this answer



















  • 1





    Permissioned denied to which user? 777 seems excessive

    – cricket_007
    Jun 19 '17 at 19:49











  • From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

    – Minathe
    Jun 24 '17 at 14:54











  • Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

    – rafaelphp
    May 23 '18 at 18:45











  • The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

    – Victor Rendina
    Jun 22 '18 at 2:20





















-1














In may case the error was because the user has not enough permission to /dev/kvm
so the solution is giving permission. i.e.



chmod 777 /dev/kvm






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f44635879%2fkvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    11














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



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






    share|improve this answer



















    • 1





      Permissioned denied to which user? 777 seems excessive

      – cricket_007
      Jun 19 '17 at 19:49











    • From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

      – Minathe
      Jun 24 '17 at 14:54











    • Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

      – rafaelphp
      May 23 '18 at 18:45











    • The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

      – Victor Rendina
      Jun 22 '18 at 2:20


















    11














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



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






    share|improve this answer



















    • 1





      Permissioned denied to which user? 777 seems excessive

      – cricket_007
      Jun 19 '17 at 19:49











    • From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

      – Minathe
      Jun 24 '17 at 14:54











    • Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

      – rafaelphp
      May 23 '18 at 18:45











    • The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

      – Victor Rendina
      Jun 22 '18 at 2:20
















    11












    11








    11







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



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






    share|improve this answer













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



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







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 19 '17 at 18:23









    MinatheMinathe

    328213




    328213








    • 1





      Permissioned denied to which user? 777 seems excessive

      – cricket_007
      Jun 19 '17 at 19:49











    • From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

      – Minathe
      Jun 24 '17 at 14:54











    • Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

      – rafaelphp
      May 23 '18 at 18:45











    • The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

      – Victor Rendina
      Jun 22 '18 at 2:20
















    • 1





      Permissioned denied to which user? 777 seems excessive

      – cricket_007
      Jun 19 '17 at 19:49











    • From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

      – Minathe
      Jun 24 '17 at 14:54











    • Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

      – rafaelphp
      May 23 '18 at 18:45











    • The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

      – Victor Rendina
      Jun 22 '18 at 2:20










    1




    1





    Permissioned denied to which user? 777 seems excessive

    – cricket_007
    Jun 19 '17 at 19:49





    Permissioned denied to which user? 777 seems excessive

    – cricket_007
    Jun 19 '17 at 19:49













    From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

    – Minathe
    Jun 24 '17 at 14:54





    From android studios all users even root could not access most of the files in the Sdk folder. Instead of 777 which level is best, 555(r-x)?

    – Minathe
    Jun 24 '17 at 14:54













    Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

    – rafaelphp
    May 23 '18 at 18:45





    Ubuntu 18 'sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils'

    – rafaelphp
    May 23 '18 at 18:45













    The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

    – Victor Rendina
    Jun 22 '18 at 2:20







    The only items you need to change are chmod 775 ~/Android/Sdk/emulator/emulator* ~/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-* If you try running the emulator from the command line ~/Android/Sdk/emulator -avd (your avd name) you can easily see any errors (use -list-avds to find your avd name). Seems strange that the emulator files are not executable by default?

    – Victor Rendina
    Jun 22 '18 at 2:20















    -1














    In may case the error was because the user has not enough permission to /dev/kvm
    so the solution is giving permission. i.e.



    chmod 777 /dev/kvm






    share|improve this answer




























      -1














      In may case the error was because the user has not enough permission to /dev/kvm
      so the solution is giving permission. i.e.



      chmod 777 /dev/kvm






      share|improve this answer


























        -1












        -1








        -1







        In may case the error was because the user has not enough permission to /dev/kvm
        so the solution is giving permission. i.e.



        chmod 777 /dev/kvm






        share|improve this answer













        In may case the error was because the user has not enough permission to /dev/kvm
        so the solution is giving permission. i.e.



        chmod 777 /dev/kvm







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 19 at 23:53









        Hamlet KraskianHamlet Kraskian

        32655




        32655






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f44635879%2fkvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Homophylophilia

            Updating UILabel text programmatically using a function

            Cloud Functions - OpenCV Videocapture Read method fails for larger files from cloud storage