语音识别一开始调通,后来不知道怎么会报这个错误
酒仓买APP 发布于2015-11 浏览:1494 回复:3
0
收藏

Activity has leaked ServiceConnection
android.speech.SpeechRecognizer$Connection@428a54b0 that was originally bound here

收藏
点赞
0
个赞
共3条回复 最后由用户已被禁言回复于2022-04
#4c5812回复于2017-03

构建speechRecognizer时可以使用context.getApplicationContext()

0
#3chenzhiwei152回复于2017-03

Activity smartisanos.app.ResolverActivity has leaked IntentReceiver smartisanos.app.ResolverActivity$1@2737cb8c that was originally registered here. Are you missing a call to unregisterReceiver()?


已经调用了

speechRecognizer.destroy();


0
#2水寒319回复于2016-01

根据你贴的信息无法定位到你的错误所在,请贴上详细的错误日志信息。

0
TOP
切换版块