Android-Studio Emulator audio error












1
















Hello, I am trying to setup Android Studio 3.1.3 in a guest VM with windows 10 x64 pro. In the VirtualBox I have intel HD sound controller enabled. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel.



However, when I try to launch the emulator I get



Emulator: audio: Failed to create voice `goldfish_audio_in'

Emulator: qemu-system-armel.exe: warning: opening audio input failed


and the emulator is just a black screen that does not respond to anything.



I have everything enabled in Virtual Box regarding hardware acceleration.



I checked these posts:



Is it possible to run Android Device Emulator (via Android Studio 2) on VMWare?



“emulator: warning: opening audio input failed” displayed in the console while AVD is launching



Android Emulator: Audio Input Failed



but I still get the same error and black screen on the emulator...



I have also tried to disable sound in config.ini or disable the microphone in windows 10 VM but didnt change anything.



Am I missing something here?



Is it impossible to run android emulator for ARM architecture on a VM?










share|improve this question

























  • Anyone out there facing the same problem?

    – BugShotGG
    Jul 27 '18 at 19:20











  • Are you running in VMWare? Wasn't sure. I've only tried on WMWare not other things like Oracle's VirtualBox. Not sure if it will work. Also, at one point I needed this ability and couldn't get it working and I used genymotion.com Android In Cloud and it worked well. You have to manage it though and it'll cost you $2 a day depending on how long you session is. Last thing, I've seen the error you're getting and I don't think I've ever solved it. I just ended up creating another VM image and finally got it working by luck.

    – raddevus
    Jul 30 '18 at 18:13











  • @raddevus Yes it is running in a windows 10 guest VM (VirtualBox). I am using Intel HD audio controller in VirtualBox settings since AC97 doesnt even work in the guest OS.

    – BugShotGG
    Jul 30 '18 at 18:36
















1
















Hello, I am trying to setup Android Studio 3.1.3 in a guest VM with windows 10 x64 pro. In the VirtualBox I have intel HD sound controller enabled. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel.



However, when I try to launch the emulator I get



Emulator: audio: Failed to create voice `goldfish_audio_in'

Emulator: qemu-system-armel.exe: warning: opening audio input failed


and the emulator is just a black screen that does not respond to anything.



I have everything enabled in Virtual Box regarding hardware acceleration.



I checked these posts:



Is it possible to run Android Device Emulator (via Android Studio 2) on VMWare?



“emulator: warning: opening audio input failed” displayed in the console while AVD is launching



Android Emulator: Audio Input Failed



but I still get the same error and black screen on the emulator...



I have also tried to disable sound in config.ini or disable the microphone in windows 10 VM but didnt change anything.



Am I missing something here?



Is it impossible to run android emulator for ARM architecture on a VM?










share|improve this question

























  • Anyone out there facing the same problem?

    – BugShotGG
    Jul 27 '18 at 19:20











  • Are you running in VMWare? Wasn't sure. I've only tried on WMWare not other things like Oracle's VirtualBox. Not sure if it will work. Also, at one point I needed this ability and couldn't get it working and I used genymotion.com Android In Cloud and it worked well. You have to manage it though and it'll cost you $2 a day depending on how long you session is. Last thing, I've seen the error you're getting and I don't think I've ever solved it. I just ended up creating another VM image and finally got it working by luck.

    – raddevus
    Jul 30 '18 at 18:13











  • @raddevus Yes it is running in a windows 10 guest VM (VirtualBox). I am using Intel HD audio controller in VirtualBox settings since AC97 doesnt even work in the guest OS.

    – BugShotGG
    Jul 30 '18 at 18:36














1












1








1









Hello, I am trying to setup Android Studio 3.1.3 in a guest VM with windows 10 x64 pro. In the VirtualBox I have intel HD sound controller enabled. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel.



However, when I try to launch the emulator I get



Emulator: audio: Failed to create voice `goldfish_audio_in'

Emulator: qemu-system-armel.exe: warning: opening audio input failed


and the emulator is just a black screen that does not respond to anything.



I have everything enabled in Virtual Box regarding hardware acceleration.



I checked these posts:



Is it possible to run Android Device Emulator (via Android Studio 2) on VMWare?



“emulator: warning: opening audio input failed” displayed in the console while AVD is launching



Android Emulator: Audio Input Failed



but I still get the same error and black screen on the emulator...



I have also tried to disable sound in config.ini or disable the microphone in windows 10 VM but didnt change anything.



Am I missing something here?



Is it impossible to run android emulator for ARM architecture on a VM?










share|improve this question

















Hello, I am trying to setup Android Studio 3.1.3 in a guest VM with windows 10 x64 pro. In the VirtualBox I have intel HD sound controller enabled. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel.



However, when I try to launch the emulator I get



Emulator: audio: Failed to create voice `goldfish_audio_in'

Emulator: qemu-system-armel.exe: warning: opening audio input failed


and the emulator is just a black screen that does not respond to anything.



I have everything enabled in Virtual Box regarding hardware acceleration.



I checked these posts:



Is it possible to run Android Device Emulator (via Android Studio 2) on VMWare?



“emulator: warning: opening audio input failed” displayed in the console while AVD is launching



Android Emulator: Audio Input Failed



but I still get the same error and black screen on the emulator...



I have also tried to disable sound in config.ini or disable the microphone in windows 10 VM but didnt change anything.



Am I missing something here?



Is it impossible to run android emulator for ARM architecture on a VM?







android android-studio android-emulator virtual-machine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 30 '18 at 18:34







BugShotGG

















asked Jul 13 '18 at 17:39









BugShotGGBugShotGG

2,76143751




2,76143751













  • Anyone out there facing the same problem?

    – BugShotGG
    Jul 27 '18 at 19:20











  • Are you running in VMWare? Wasn't sure. I've only tried on WMWare not other things like Oracle's VirtualBox. Not sure if it will work. Also, at one point I needed this ability and couldn't get it working and I used genymotion.com Android In Cloud and it worked well. You have to manage it though and it'll cost you $2 a day depending on how long you session is. Last thing, I've seen the error you're getting and I don't think I've ever solved it. I just ended up creating another VM image and finally got it working by luck.

    – raddevus
    Jul 30 '18 at 18:13











  • @raddevus Yes it is running in a windows 10 guest VM (VirtualBox). I am using Intel HD audio controller in VirtualBox settings since AC97 doesnt even work in the guest OS.

    – BugShotGG
    Jul 30 '18 at 18:36



















  • Anyone out there facing the same problem?

    – BugShotGG
    Jul 27 '18 at 19:20











  • Are you running in VMWare? Wasn't sure. I've only tried on WMWare not other things like Oracle's VirtualBox. Not sure if it will work. Also, at one point I needed this ability and couldn't get it working and I used genymotion.com Android In Cloud and it worked well. You have to manage it though and it'll cost you $2 a day depending on how long you session is. Last thing, I've seen the error you're getting and I don't think I've ever solved it. I just ended up creating another VM image and finally got it working by luck.

    – raddevus
    Jul 30 '18 at 18:13











  • @raddevus Yes it is running in a windows 10 guest VM (VirtualBox). I am using Intel HD audio controller in VirtualBox settings since AC97 doesnt even work in the guest OS.

    – BugShotGG
    Jul 30 '18 at 18:36

















Anyone out there facing the same problem?

– BugShotGG
Jul 27 '18 at 19:20





Anyone out there facing the same problem?

– BugShotGG
Jul 27 '18 at 19:20













Are you running in VMWare? Wasn't sure. I've only tried on WMWare not other things like Oracle's VirtualBox. Not sure if it will work. Also, at one point I needed this ability and couldn't get it working and I used genymotion.com Android In Cloud and it worked well. You have to manage it though and it'll cost you $2 a day depending on how long you session is. Last thing, I've seen the error you're getting and I don't think I've ever solved it. I just ended up creating another VM image and finally got it working by luck.

– raddevus
Jul 30 '18 at 18:13





Are you running in VMWare? Wasn't sure. I've only tried on WMWare not other things like Oracle's VirtualBox. Not sure if it will work. Also, at one point I needed this ability and couldn't get it working and I used genymotion.com Android In Cloud and it worked well. You have to manage it though and it'll cost you $2 a day depending on how long you session is. Last thing, I've seen the error you're getting and I don't think I've ever solved it. I just ended up creating another VM image and finally got it working by luck.

– raddevus
Jul 30 '18 at 18:13













@raddevus Yes it is running in a windows 10 guest VM (VirtualBox). I am using Intel HD audio controller in VirtualBox settings since AC97 doesnt even work in the guest OS.

– BugShotGG
Jul 30 '18 at 18:36





@raddevus Yes it is running in a windows 10 guest VM (VirtualBox). I am using Intel HD audio controller in VirtualBox settings since AC97 doesnt even work in the guest OS.

– BugShotGG
Jul 30 '18 at 18:36












1 Answer
1






active

oldest

votes


















0














Just to ansewer the question, for me the solution was to just use API version older than 23 (android 6.0). API 22 (android 5.1) seems to work well, althought you may notice some latency.



NOTE: I ll leave the question open just in case there is a better way to make it work with latest android versions.






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%2f51330309%2fandroid-studio-emulator-audio-error%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Just to ansewer the question, for me the solution was to just use API version older than 23 (android 6.0). API 22 (android 5.1) seems to work well, althought you may notice some latency.



    NOTE: I ll leave the question open just in case there is a better way to make it work with latest android versions.






    share|improve this answer






























      0














      Just to ansewer the question, for me the solution was to just use API version older than 23 (android 6.0). API 22 (android 5.1) seems to work well, althought you may notice some latency.



      NOTE: I ll leave the question open just in case there is a better way to make it work with latest android versions.






      share|improve this answer




























        0












        0








        0







        Just to ansewer the question, for me the solution was to just use API version older than 23 (android 6.0). API 22 (android 5.1) seems to work well, althought you may notice some latency.



        NOTE: I ll leave the question open just in case there is a better way to make it work with latest android versions.






        share|improve this answer















        Just to ansewer the question, for me the solution was to just use API version older than 23 (android 6.0). API 22 (android 5.1) seems to work well, althought you may notice some latency.



        NOTE: I ll leave the question open just in case there is a better way to make it work with latest android versions.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 13 '18 at 20:57

























        answered Nov 11 '18 at 21:24









        BugShotGGBugShotGG

        2,76143751




        2,76143751






























            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%2f51330309%2fandroid-studio-emulator-audio-error%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

            List item for chat from Array inside array React Native

            Jo Brand

            Thiostrepton