1

I've built a voice-driven android app that uses the android speech recognition API. I'm currently trying to convert the app to a wear-os version. I've included the speech recognition permission in the apps manifest and have initialized the speech recognition instance the same as I have in the mobile app (which works!). The app launches well, however when I begin the speech recognition I get the following error: E/SpeechRecognizer: no selected voice recognition service

I've tested on both a physical Galaxy 5 watch, and an API 30 wear-os emulator and the problem occurs with both devices. I've installed google assistant on the devices, and google assistants voice recognition works well. I can't find and voice input / speech recognition settings on the app. I'm not sure what next steps to take in debugging this.

Rice
  • 11
  • 1
  • Did you [add visibility to all `RecognitionService` instances](https://developer.android.com/about/versions/11/behavior-changes-11#speech-recognition)? – ianhanniballake May 20 '23 at 01:54
  • @ianhanniballake I've included a RecognitionService action in the queries part of the manifest, if that's what you mean. – Rice May 23 '23 at 22:55

1 Answers1

0

Changes to SpeechRecognition in API Level 30

I have the same problem: Testing it on an android 30 emulator prints "no selected voice recognition service". However, testing it on an emulator running API version 28 works just fine.

I asked for user permission and specified an intent in the "queries"-Part of AndroidManifest.xml it still doesnt work. It seems to be an API Problem.

This answer helped me

ostue
  • 57
  • 6