Android Studio Emulator E/AudioFlinger 错误信息 [英] Android Studio Emulator E/AudioFlinger error message

查看:39
本文介绍了Android Studio Emulator E/AudioFlinger 错误信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从 AVD 管理器启动任何设备时,它只会无限循环此错误消息:E/AudioFlinger:读取失败: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?

EDIT 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 设置应用 > 搜索 &现在 > 语音
这里需要关闭OK 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 错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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