gotev / android-speech

Android speech recognition and text to speech made easy
http://gotev.github.io/android-speech/
Apache License 2.0
486 stars 157 forks source link

java.lang.IllegalArgumentException: Service not registered #4

Closed gotev closed 8 years ago

gotev commented 8 years ago
java.lang.IllegalArgumentException: Service not registered: android.speech.SpeechRecognizer$Connection@367945c4
       at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1094)
       at android.app.ContextImpl.unbindService(ContextImpl.java:2000)
       at android.content.ContextWrapper.unbindService(ContextWrapper.java:558)
       at android.speech.SpeechRecognizer.destroy(SpeechRecognizer.java:408)
       at net.gotev.speech.Speech.initSpeechRecognizer(Speech.java:262)
       at net.gotev.speech.Speech.returnPartialResultsAndRecreateSpeechRecognizer(Speech.java:471)
       at net.gotev.speech.Speech.stopListening(Speech.java:442)
       at net.igenius.crystal.view.activity.AdvisorActivity.stopSpeech(AdvisorActivity.java:228)
AgNm commented 6 years ago

any update on this?

praharshbhatt commented 6 years ago

Having the same issue

gotev commented 6 years ago

Which version are you using?