Error launching the android project on emulator(API 28 on windows)

前端 未结 6 1006
死守一世寂寞
死守一世寂寞 2020-12-05 19:23

While trying to run the created Android project, I am getting below error and the project does not launch on the emulator even though the emulator gets launched successfully

相关标签:
6条回答
  • 2020-12-05 19:32

    In windows 10 i just plug in the microphone and the error is gone

    0 讨论(0)
  • 2020-12-05 19:33

    You should be able to solve the problem if you try the mentioned steps in this thread: Emulator: audio: Failed to create voice `adc'

    Another trick I figured out by myself was to launch the emulator not via Debugging or Execution but from AVD Manager after starting Android Studio.

    UPDATE: Mohsins solution seems a better approach because it solved the problem for me.

    0 讨论(0)
  • 2020-12-05 19:34

    I have tried the above solutions as well as the ones from this post Emulator: audio: Failed to create voice `adc'

    but it turned out none of them worked for me.

    At the end of the day after downloading and installing new NVidia drivers, they magically started working again.

    0 讨论(0)
  • 2020-12-05 19:37

    It's your new Windows 10 Update. I couldn't figure it out for the life of me! I looked at 4 pages of results on Google and only saw the same old crap. So, here we go.

    To Fix: Click Start, go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone"

    Also, MrPoopyB0tthole advised me of this fix as well.

    0 讨论(0)
  • 2020-12-05 19:44

    I had the same and fixed it by plugging in a mic and speaker.

    0 讨论(0)
  • 2020-12-05 19:58

    Update: I think I finally solved it:

    Go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone" (if it's off, mine was on) After this step, turn on "Voice recorder"

    That solved the issue for me.

    ////////////////////////////////////////////////////////////////////////////////

    I have the same problem, tried the and the one from this post: Emulator: audio: Failed to create voice `adc'

    Old error log:

    8:48 AM Emulator: dsound: Could not initialize DirectSoundCapture
    
    8:48 AM Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
    
    8:48 AM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
    
    8:48 AM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
    
    8:48 AM Emulator: audio: Failed to create voice `goldfish_audio_in'
    
    8:48 AM Emulator: C:\Users\myName\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-i386.exe: warning: opening audio input failed
    
    8:48 AM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
    
    8:48 AM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
    
    8:48 AM Emulator: audio: Failed to create voice `adc'
    
    8:48 AM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
    
    8:48 AM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
    
    8:48 AM Emulator: audio: Failed to create voice `adc'
    
    8:48 AM Emulator: socketTcpLoopbackClientFor: error: fd 43920 above FD_SETSIZE (32768)
    
    8:48 AM Emulator: socketTcpLoopbackClientFor: error: fd 43920 above FD_SETSIZE (32768)
    
    8:48 AM Emulator: socketTcpLoopbackClientFor: error: fd 43944 above FD_SETSIZE (32768)
    
    8:48 AM Emulator: socketTcpLoopbackClientFor: error: fd 43944 above FD_SETSIZE (32768)
    
    8:48 AM Emulator: socketTcpLoopbackClientFor: error: fd 48540 above FD_SETSIZE (32768)
    
    8:48 AM Emulator: socketTcpLoopbackClientFor: error: fd 48540 above FD_SETSIZE (32768)
    
    0 讨论(0)
提交回复
热议问题