“模拟器:警告:打开音频输入失败"AVD 启动时显示在控制台中

quot;emulator: warning: opening audio input failedquot; displayed in the console while AVD is launching(“模拟器:警告:打开音频输入失败AVD 启动时显示在控制台中)
本文介绍了“模拟器:警告:打开音频输入失败"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 启动时显示在控制台中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)