Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speech recognition not available on this device - Unhandled Exception: PlatformException(recognizerNotAvailable, Speech recognition not available on this device, , null) #298

Closed
Gugu04 opened this issue Feb 8, 2022 · 3 comments

Comments

@Gugu04
Copy link

Gugu04 commented Feb 8, 2022

When I run it, I get some errors as shown in the screenshot. I'm using a CAT Caterpillar S42 cell phone with android 11 I'm doing the execution with the physical cell phone
error_text

@sowens-csd
Copy link
Contributor

Probably speech recognition isn't properly installed on Android. Have you looked at the README section on setting up recognition on the device? And see #36

@Gugu04
Copy link
Author

Gugu04 commented Feb 9, 2022

Thank you very much, it is working correctly now. I tell you what I did, I installed the VoiceSearch application but it showed me connection problems, I ran the application again in flutter and I did not get the error that I had before, but I received another error SpeechRecognitionError msg: error_network, permanent: true I added debugLogging: true and it still showed the error.
The cell phone did not have any google application installed, that is, it did not have play store, gmail, chrome...

Solution:
1.- install google app
2.- > Settings > Voice > Languages - select the language
3.- > Settings > Voice > Languages > Offline speech recognition - install language
4.- > Settings > Language and region - select the Search language and Search region
5.- Delete the build folder from the root path of the project and run again

This was the way that I solved the error that I had running.

@sowens-csd
Copy link
Contributor

Thanks for posting, that's helpful! I'm going to add this description to the README in case it helps others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants