问题描述
"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 启动时显示在控制台中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)