java.lang.SecurityException:不允许绑定到服务意图(HTC 语音听写)

use*_*403 5 java android speech-recognition speech-to-text

各位,

我使用 android 的内置语音识别类编写了一个语音识别应用程序。当对使用 createSpeechRecognizer(context) 函数获取的语音识别器对象调用 startListening 函数时,偶尔会在我的开发人员控制台中出现以下异常。

java.lang.SecurityException: Not allowed to bind to service Intent {     act=android.speech.RecognitionService cmp=com.htc.android.voicedictation/.VoiceDictationService }
Run Code Online (Sandbox Code Playgroud)

我没有 HTC 设备...所以有什么想法为什么会发生这种情况以及如何解决这个问题吗?