KVM is required to run this AVDKVM is not installed on this machine (/dev/kvm is missing)KVM is not installed on this machine (/dev/kvm is missing)Getting Android Studio Emulator to run on Chromebook trustyUbuntu 14 Android Studio 3 xrdp /dev/kvm permission deniedcan't restore Android Studio window after minimiseErrors from running code compiled by gccHow to properly configure Virt-Manager (QEMU/KVM) with Windows guest

Grade changes with auto grader

Would a spacecraft carry arc welding supplies?

What is gerrymandering called if it's not the result of redrawing districts?

When applying for a visa has there ever been a case of embassy asking for proof of right to be in the present country?

A toy model in 0-d QFT

How can I put a unary minus sign after a column separator?

Is it unusual that English uses possessive for past tense?

Why are there never-ending wars in the Middle East?

Visualize a large int

Conveying the idea of "tricky"

Examples of problems with non-convex constraint functions but convex feasible region

What exactly is meant by "partial function" in functional programming?

出かけることにしました - What is the meaning of this?

Who inspired the character Geordi La Forge?

C# Toy Robot Simulator

I don't want my ls command in my script to print results on screen

だけ between two verbs / second verb performing an action on だけ construction

As a vegetarian, how can I deal with microwaves smelling of meat and fish?

What's the best way to annotate this syncopation?

Why can a T* be passed in register, but a unique_ptr<T> cannot?

Can I exit and reenter a UK station while waiting for a connecting train?

When and why did the House rules change to permit an inquiry without a vote?

Should I respond to a sabotage accusation e-mail at work?

Compress .hex file for micro-controller



KVM is required to run this AVD


KVM is not installed on this machine (/dev/kvm is missing)KVM is not installed on this machine (/dev/kvm is missing)Getting Android Studio Emulator to run on Chromebook trustyUbuntu 14 Android Studio 3 xrdp /dev/kvm permission deniedcan't restore Android Studio window after minimiseErrors from running code compiled by gccHow to properly configure Virt-Manager (QEMU/KVM) with Windows guest






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









14

















I am on Ubuntu 18.04 LTS and I am trying to set up Android Studio for the first time. When I run my simple "Hello World" app, it gives me a pop-up that says




KVM is required to run this AVD.

Unknown Error



Please file a bug against Android Studio




popup



But when I run simply kvm-ok it outputs:



INFO: /dev/kvm exists
KVM acceleration can be used









share|improve this question




























  • Did you check this Ask Ubuntu thread?

    – Shashanth
    Jul 4 '18 at 4:01






  • 1





    Yes i have, but the thing is that my CPU does support virtualization and is enabled from BIOS!

    – Nomi Shaw
    Jul 10 '18 at 8:31











  • You might try to just run 'kvm' as that will run a KVM with (x86) Bios with -enable-kvm being set. It will eventually stop as it has nothing to boot, but you will see if kvm can be used.

    – Christian Ehrhardt
    Jul 16 '18 at 5:56

















14

















I am on Ubuntu 18.04 LTS and I am trying to set up Android Studio for the first time. When I run my simple "Hello World" app, it gives me a pop-up that says




KVM is required to run this AVD.

Unknown Error



Please file a bug against Android Studio




popup



But when I run simply kvm-ok it outputs:



INFO: /dev/kvm exists
KVM acceleration can be used









share|improve this question




























  • Did you check this Ask Ubuntu thread?

    – Shashanth
    Jul 4 '18 at 4:01






  • 1





    Yes i have, but the thing is that my CPU does support virtualization and is enabled from BIOS!

    – Nomi Shaw
    Jul 10 '18 at 8:31











  • You might try to just run 'kvm' as that will run a KVM with (x86) Bios with -enable-kvm being set. It will eventually stop as it has nothing to boot, but you will see if kvm can be used.

    – Christian Ehrhardt
    Jul 16 '18 at 5:56













14












14








14


1






I am on Ubuntu 18.04 LTS and I am trying to set up Android Studio for the first time. When I run my simple "Hello World" app, it gives me a pop-up that says




KVM is required to run this AVD.

Unknown Error



Please file a bug against Android Studio




popup



But when I run simply kvm-ok it outputs:



INFO: /dev/kvm exists
KVM acceleration can be used









share|improve this question

















I am on Ubuntu 18.04 LTS and I am trying to set up Android Studio for the first time. When I run my simple "Hello World" app, it gives me a pop-up that says




KVM is required to run this AVD.

Unknown Error



Please file a bug against Android Studio




popup



But when I run simply kvm-ok it outputs:



INFO: /dev/kvm exists
KVM acceleration can be used






18.04 kvm android-studio






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Jun 30 '18 at 5:01









Zanna

53.5k15 gold badges150 silver badges251 bronze badges




53.5k15 gold badges150 silver badges251 bronze badges










asked Jun 29 '18 at 5:26









Nomi ShawNomi Shaw

1291 gold badge1 silver badge14 bronze badges




1291 gold badge1 silver badge14 bronze badges















  • Did you check this Ask Ubuntu thread?

    – Shashanth
    Jul 4 '18 at 4:01






  • 1





    Yes i have, but the thing is that my CPU does support virtualization and is enabled from BIOS!

    – Nomi Shaw
    Jul 10 '18 at 8:31











  • You might try to just run 'kvm' as that will run a KVM with (x86) Bios with -enable-kvm being set. It will eventually stop as it has nothing to boot, but you will see if kvm can be used.

    – Christian Ehrhardt
    Jul 16 '18 at 5:56

















  • Did you check this Ask Ubuntu thread?

    – Shashanth
    Jul 4 '18 at 4:01






  • 1





    Yes i have, but the thing is that my CPU does support virtualization and is enabled from BIOS!

    – Nomi Shaw
    Jul 10 '18 at 8:31











  • You might try to just run 'kvm' as that will run a KVM with (x86) Bios with -enable-kvm being set. It will eventually stop as it has nothing to boot, but you will see if kvm can be used.

    – Christian Ehrhardt
    Jul 16 '18 at 5:56
















Did you check this Ask Ubuntu thread?

– Shashanth
Jul 4 '18 at 4:01





Did you check this Ask Ubuntu thread?

– Shashanth
Jul 4 '18 at 4:01




1




1





Yes i have, but the thing is that my CPU does support virtualization and is enabled from BIOS!

– Nomi Shaw
Jul 10 '18 at 8:31





Yes i have, but the thing is that my CPU does support virtualization and is enabled from BIOS!

– Nomi Shaw
Jul 10 '18 at 8:31













You might try to just run 'kvm' as that will run a KVM with (x86) Bios with -enable-kvm being set. It will eventually stop as it has nothing to boot, but you will see if kvm can be used.

– Christian Ehrhardt
Jul 16 '18 at 5:56





You might try to just run 'kvm' as that will run a KVM with (x86) Bios with -enable-kvm being set. It will eventually stop as it has nothing to boot, but you will see if kvm can be used.

– Christian Ehrhardt
Jul 16 '18 at 5:56










4 Answers
4






active

oldest

votes


















20


















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.



Official answer on StackOverflow






share|improve this answer



































    0


















    Change sdk emulator folder permission. This is worked for me.



    chmod 777 -R sdk folder/emulator


    https://stackoverflow.com/questions/44635879/kvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi






    share|improve this answer




























    • It is actually a permission denied on KVM rather on android emulator.

      – G. Spyridakis
      Dec 9 '18 at 18:15











    • Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

      – Toir427
      Dec 22 '18 at 13:24


















    -1


















    I usually run



    sudo chown username -R /dev/kvm


    but this is only good for a while. Looking for a better solution.



    There is also another command:



    sudo adduser username kvm





    share|improve this answer

































      -1


















      Login as a root user sudo su goto the studio installation dir withcd $path_of _installation_dir/android-studio/bin and relaunch the sdk with ./studio.sh. Then try relaunching your avd






      share|improve this answer


























      • Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

        – U-D13
        Sep 6 at 9:03













      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1050621%2fkvm-is-required-to-run-this-avd%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown


























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      20


















      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.



      Official answer on StackOverflow






      share|improve this answer
































        20


















        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.



        Official answer on StackOverflow






        share|improve this answer






























          20














          20










          20









          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.



          Official answer on StackOverflow






          share|improve this answer
















          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.



          Official answer on StackOverflow







          share|improve this answer















          share|improve this answer




          share|improve this answer








          edited Aug 2 at 18:32









          Kulfy

          8,19310 gold badges32 silver badges60 bronze badges




          8,19310 gold badges32 silver badges60 bronze badges










          answered Dec 9 '18 at 18:08









          G. SpyridakisG. Spyridakis

          3161 silver badge7 bronze badges




          3161 silver badge7 bronze badges


























              0


















              Change sdk emulator folder permission. This is worked for me.



              chmod 777 -R sdk folder/emulator


              https://stackoverflow.com/questions/44635879/kvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi






              share|improve this answer




























              • It is actually a permission denied on KVM rather on android emulator.

                – G. Spyridakis
                Dec 9 '18 at 18:15











              • Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

                – Toir427
                Dec 22 '18 at 13:24















              0


















              Change sdk emulator folder permission. This is worked for me.



              chmod 777 -R sdk folder/emulator


              https://stackoverflow.com/questions/44635879/kvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi






              share|improve this answer




























              • It is actually a permission denied on KVM rather on android emulator.

                – G. Spyridakis
                Dec 9 '18 at 18:15











              • Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

                – Toir427
                Dec 22 '18 at 13:24













              0














              0










              0









              Change sdk emulator folder permission. This is worked for me.



              chmod 777 -R sdk folder/emulator


              https://stackoverflow.com/questions/44635879/kvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi






              share|improve this answer
















              Change sdk emulator folder permission. This is worked for me.



              chmod 777 -R sdk folder/emulator


              https://stackoverflow.com/questions/44635879/kvm-is-required-to-run-this-avd-unknown-error-please-file-a-bug-against-androi







              share|improve this answer















              share|improve this answer




              share|improve this answer








              edited Oct 28 '18 at 10:03

























              answered Oct 28 '18 at 9:42









              Toir427Toir427

              93 bronze badges




              93 bronze badges















              • It is actually a permission denied on KVM rather on android emulator.

                – G. Spyridakis
                Dec 9 '18 at 18:15











              • Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

                – Toir427
                Dec 22 '18 at 13:24

















              • It is actually a permission denied on KVM rather on android emulator.

                – G. Spyridakis
                Dec 9 '18 at 18:15











              • Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

                – Toir427
                Dec 22 '18 at 13:24
















              It is actually a permission denied on KVM rather on android emulator.

              – G. Spyridakis
              Dec 9 '18 at 18:15





              It is actually a permission denied on KVM rather on android emulator.

              – G. Spyridakis
              Dec 9 '18 at 18:15













              Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

              – Toir427
              Dec 22 '18 at 13:24





              Either your CPU does not support virtualization, or it is disabled in the bios. Go into your bios and see if you can find a setting to enable it.

              – Toir427
              Dec 22 '18 at 13:24











              -1


















              I usually run



              sudo chown username -R /dev/kvm


              but this is only good for a while. Looking for a better solution.



              There is also another command:



              sudo adduser username kvm





              share|improve this answer






























                -1


















                I usually run



                sudo chown username -R /dev/kvm


                but this is only good for a while. Looking for a better solution.



                There is also another command:



                sudo adduser username kvm





                share|improve this answer




























                  -1














                  -1










                  -1









                  I usually run



                  sudo chown username -R /dev/kvm


                  but this is only good for a while. Looking for a better solution.



                  There is also another command:



                  sudo adduser username kvm





                  share|improve this answer














                  I usually run



                  sudo chown username -R /dev/kvm


                  but this is only good for a while. Looking for a better solution.



                  There is also another command:



                  sudo adduser username kvm






                  share|improve this answer













                  share|improve this answer




                  share|improve this answer










                  answered Jul 25 '18 at 22:46









                  ADNowADNow

                  991 bronze badge




                  991 bronze badge
























                      -1


















                      Login as a root user sudo su goto the studio installation dir withcd $path_of _installation_dir/android-studio/bin and relaunch the sdk with ./studio.sh. Then try relaunching your avd






                      share|improve this answer


























                      • Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

                        – U-D13
                        Sep 6 at 9:03
















                      -1


















                      Login as a root user sudo su goto the studio installation dir withcd $path_of _installation_dir/android-studio/bin and relaunch the sdk with ./studio.sh. Then try relaunching your avd






                      share|improve this answer


























                      • Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

                        – U-D13
                        Sep 6 at 9:03














                      -1














                      -1










                      -1









                      Login as a root user sudo su goto the studio installation dir withcd $path_of _installation_dir/android-studio/bin and relaunch the sdk with ./studio.sh. Then try relaunching your avd






                      share|improve this answer














                      Login as a root user sudo su goto the studio installation dir withcd $path_of _installation_dir/android-studio/bin and relaunch the sdk with ./studio.sh. Then try relaunching your avd







                      share|improve this answer













                      share|improve this answer




                      share|improve this answer










                      answered May 27 at 21:08









                      crujzocrujzo

                      99




                      99















                      • Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

                        – U-D13
                        Sep 6 at 9:03


















                      • Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

                        – U-D13
                        Sep 6 at 9:03

















                      Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

                      – U-D13
                      Sep 6 at 9:03






                      Never log in as the root user! There's nothing you could do as root, that you can't do with sudo. And if you only need the permissions of a specific group, sg if you belong to it, sudo -g if you don't — sg kvm <path-to-your-android-studio>/bin/studio.sh in this case, given the kvm group has read+write permission on /dev/kvm.

                      – U-D13
                      Sep 6 at 9:03



















                      draft saved

                      draft discarded















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • 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%2faskubuntu.com%2fquestions%2f1050621%2fkvm-is-required-to-run-this-avd%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

                      Tamil (spriik) Luke uk diar | Nawigatjuun

                      Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                      Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?