Android SpeechRecognizer 录音错误 [英] Android SpeechRecognizer Audio Recording Error

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

问题描述

我正在尝试在没有意图对话框的情况下在 Android 上使用 SpeechRecognizer.它在大多数设备上都可以正常工作,但有些设备会返回录音错误(错误代码 3)并且没有关于此错误的详细信息.有什么解决办法或原因吗?

I'm trying to use SpeechRecognizer on Android without Intent Dialog. It works fine on most of devices but some devices return Audio Recording Error (Error Code 3) and There's no detail for this error. Is there any solution or reason for this?

谢谢!!

推荐答案

当 Google App(com.google.android.googlequicksearchbox) 没有录制权限时,我遇到了同样的错误.

I had the same error when Google App(com.google.android.googlequicksearchbox) does not have recording permission.

此外,SpeechRecognizer 使用 com.google.android.googlequicksearchbox 的服务.因此,如果此应用被禁用或卸载,SpeechRecognizer 可能无法工作.

In addition, SpeechRecognizer uses service of com.google.android.googlequicksearchbox. Thus, if this app is disabled or uninstalled, SpeechRecognizer may not work.

这篇关于Android SpeechRecognizer 录音错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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