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

查看:246
本文介绍了“模拟器:警告:打开音频输入失败"在启动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 ,并一次又一次创建了一个新的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.

我也在Google上搜索了很多次,但没有发现任何有用的信息.

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时显示在控制台中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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