quot;emulator: warning: opening audio input failedquot; displayed in the console while AVD is launching(“模拟器:警告:打开音频输入失败AVD 启动时显示在控制台中)
问题描述
"emulator: warning: opening audio input failed"
每次AVD启动时,控制台都会显示上述消息,然后模拟器没有声音.
The above message is displayed in the console everytime an AVD is launching, and then no sound is coming out from the emulator.
我尝试删除 AVD 并一次又一次地创建一个新的,但对问题没有帮助.
I have tried to delete the AVD and have created a new one again and again, but it didn't help with the problem.
我也在谷歌上搜索了很多次,但没有发现任何有用的东西.
I have also searched on Google for many time, but I find nothing useful.
有趣的是,人们倾向于建议忽略该问题,因为 AVD 在没有声音的情况下仍然可以正常工作.
It is really interesting that people tend to suggest to just ignore the problem because the AVD is still working fine without sound.
但我正在编写一个与声音相关的 Android 应用程序,我确实需要一个可行的解决方案来让 AVD 再次说话".
But I am writing an Android App that related to sound, I really need a workable solution to make the AVD to "speak" again.
非常感谢你.
推荐答案
您可以手动禁用音频输入设置:转到 your-avd-path/config.ini
然后更改行 hw.audioInput=yes
到 hw.audioInput=no
you can disable audio input setting manually : go to your-avd-path/config.ini
then change the line hw.audioInput=yes
to hw.audioInput=no
这篇关于“模拟器:警告:打开音频输入失败"AVD 启动时显示在控制台中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:“模拟器:警告:打开音频输入失败"AVD 启动时显示在控制台中


- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01