“模拟器:警告:打开音频输入失败"AVD 启动时显示在控制台中 [英] "emulator: warning: opening audio input failed" displayed in the console while AVD is launching

查看:26
本文介绍了“模拟器:警告:打开音频输入失败"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=yeshw.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 启动时显示在控制台中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆