问题描述
当我从AVD Manager启动任何设备时,它只会无限循环此错误消息:E/AudioFlinger: read failed: framesRead=-1
When I start any device from the AVD Manager it just loops this error message infinitely:E/AudioFlinger: read failed: framesRead=-1
当我创建新设备时,它甚至会执行该操作.不管是否启用了使用主机GPU".
It even does that when I create a new device. Doesn't matter if "Use Host GPU" is enabled or not.
启动我的应用程序时,它通常会在仿真设备启动后立即启动.由于出现此错误消息,因此它不会自动启动我的应用程序(尽管仍然可以手动启动该应用程序).
When I start my application it would usually start up right after the emulated device started up. Since this error message appears it does not start my application automatically (the app can still be started manually though).
其他人对此有任何经验,也许是可能的解决方案?
Anyone else had any experience with that and maybe a possible solution?
编辑1 :点击应用按钮后,它将立即停止循环播放错误消息.似乎只出现在主屏幕上.
EDIT 1: It stops looping the error message as soon as i hit the app button. Seems to just occur on the home screen.
推荐答案
打开Google设置应用>搜索和现在>语音
在这里,您需要关闭确定Google"检测.它可能会变灰并带有正在检索设置..."标记.要启用它,只需在其上方的字段中将语言更改为其他任何一种语言即可.如果"OK Google"检测不支持选择的语言,则此菜单内的开关也会显示为灰色,也可以解决此问题.
Open Google Settings app > Search & Now > Voice
Here you need to turn off "OK Google" Detection. It may be grayed out and disabled with mark "Retrieving settings...". To make it enabled, just change the language to any other one in the field above it. If selected language is unsupported for "OK Google" detection, the switch inside this menu will be also grayed, it fixes the problem as well.
这篇关于Android Studio Emulator E/AudioFlinger错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!