Android emulator “如何修复”;无法初始化DirectSoundCapture";在安卓工作室
我只是毫无疑问地使用了Android Studio,然后有一次我运行该项目时,我得到了一个错误列表,上面写着“Emulator:dsound:无法初始化DirectSoundCapture” 我已经查找了这个问题,并尝试更新windows、更新android studio、更新驱动程序、取消勾选设置中的“启用即时运行以热插拔代码/部署时资源更改”框、转到windows设置并启用应用程序使用麦克风,但我找不到任何解决方案Android emulator “如何修复”;无法初始化DirectSoundCapture";在安卓工作室,android-emulator,Android Emulator,我只是毫无疑问地使用了Android Studio,然后有一次我运行该项目时,我得到了一个错误列表,上面写着“Emulator:dsound:无法初始化DirectSoundCapture” 我已经查找了这个问题,并尝试更新windows、更新android studio、更新驱动程序、取消勾选设置中的“启用即时运行以热插拔代码/部署时资源更改”框、转到windows设置并启用应用程序使用麦克风,但我找不到任何解决方案 10:02 PM Emulator: dsound: Could no
10:02 PM Emulator: dsound: Could not initialize DirectSoundCapture
10:02 PM Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
10:02 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
10:02 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
10:02 PM Emulator: audio: Failed to create voice `goldfish_audio_in'
10:02 PM Emulator: C:\Users\Joseph\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed
10:02 PM Emulator: dsound: At
10:02 PM Emulator: tempt to initialize voice without DirectSoundCapture object
10:02 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
10:02 PM Emulator: audio: Failed to create voice `adc'
10:02 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
10:02 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
10:02 PM Emulator: audio: Failed to create voice `adc'
模拟器只有一个黑屏,不会做任何其他事情,我不在乎模拟器是否发出声音,我只想看到视觉效果。我将麦克风插回电脑,解决了这个问题。不知道为什么会出现问题,但一旦重新接通电源,错误就消失了。黑屏仍然出现,但我在AVD管理器中制作了另一个虚拟设备,并使用了运行良好的设备。轻松修复 我运行的是windows 10,但对于其他版本应该是相同的 右键单击右下角的音频图标,单击打开声音设置,然后在右窗格的输入部分下单击管理声音设备,然后在输入设备下启用立体声混音
现在模拟器将在没有音频错误的情况下运行。我在构建项目时也遇到了同样的错误,当我注意到我的系统没有内置麦克风时,我连接了一个外部麦克风,然后它就为我工作了 一个快速修复方法是每次出现问题时从emulator擦除数据(工具>AVD管理器>操作>擦除数据下的下拉菜单)