在模拟器上启动android项目时出错(Windows上为API 28)

时间:2018-12-06 12:44:42

标签: android-emulator

在尝试运行创建的Android项目时,遇到错误,即使模拟器成功启动,该项目也无法在模拟器上启动。

错误:

6:04 PM Emulator: dsound: Could not initialize DirectSoundCapture

6:04 PM Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID

6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

6:04 PM Emulator: audio: Failed to create voice `goldfish_audio_in'

6:04 PM Emulator: %PATH%\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed

6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

6:04 PM Emulator: audio: Failed to create voice `adc'

6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

6:04 PM Emulator: audio: Failed to create voice `adc'

6 个答案:

答案 0 :(得分:9)

这是您的新Windows 10更新。我无法解决我的一生!我在Google上查看了4页的搜索结果,只看到了相同的旧内容。所以,我们开始。

要修复: 单击开始,然后转到⚙设置>隐私设置>麦克风。 打开“允许应用访问您的麦克风”

此外,MrPoopyB0tthole也向我建议了此修复程序。

答案 1 :(得分:0)

如果您在此线程中尝试上述步骤,则应该能够解决问题:Emulator: audio: Failed to create voice `adc'

我自己发现的另一个技巧是,在启动Android Studio之后,不是通过调试或执行而是通过AVD Manager启动仿真器。

更新: Mohsins解决方案似乎是一种更好的方法,因为它可以为我解决问题。

答案 2 :(得分:0)

我已经安装了相同的麦克风,并通过插入麦克风和扬声器对其进行了修复。

答案 3 :(得分:0)

我已经尝试了上述解决方案以及这篇帖子Emulator: audio: Failed to create voice `adc'

中的解决方案

但事实证明,没有一个人为我工作。

下载和安装新的NVidia驱动程序后,他们终于神奇地重新开始工作。

答案 4 :(得分:0)

在Windows 10中,我只是插入麦克风,错误就消失了

答案 5 :(得分:-1)

更新: 我想我终于解决了:

转到⚙设置>隐私设置>麦克风。打开“允许应用程序访问您的麦克风”(如果关闭,则表明我的麦克风已打开) 完成此步骤后,打开“语音记录器”

那为我解决了这个问题。

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

我遇到了同样的问题,尝试了以下文章中的和:Emulator: audio: Failed to create voice `adc'

旧错误日志:

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)