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

前端 未结 6 1017
死守一世寂寞
死守一世寂寞 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: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)
    

提交回复
热议问题