csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
351 stars 218 forks source link

MissingPluginException #156

Closed hortigado closed 3 years ago

hortigado commented 3 years ago

When i initialize, i get the error MissingPluginException (MissingPluginException(No implementation found for method initialize on channel plugin.csdcorp.com/speech_to_text))

sowens-csd commented 3 years ago

Thanks for reporting. What version of the plugin are you using? Is this in the example app or your own code?

hortigado commented 3 years ago

Thanks for reporting. What version of the plugin are you using? Is this in the example app or your own code?

Hi, 3.0.1 yes in my own code. I do not understand why I get that I have tried other speech recognition libraries and it works well

bdlukaa commented 3 years ago

Make sure you run flutter clean and run it again

sowens-csd commented 3 years ago

@bdlukaa's advice is good, a flutter clean is definitely worth trying. If that doesn't work could you try version 2.7.0 for me?

hortigado commented 3 years ago

Make sure you run flutter clean and run it again

Yes i tried flutter clean but it not changed nothing. Now i try the versio 2.7.0 and it work good 👍

sowens-csd commented 3 years ago

Thanks a lot. I'll have a look at 3.0.1. It is a major refactoring to use a new style of Platform independent interface creation. The example app works but it has a different dependency structure.

hortigado commented 3 years ago

Muchas gracias. Echaré un vistazo a 3.0.1. Es una refactorización importante utilizar un nuevo estilo de creación de interfaz independiente de la plataforma. La aplicación de ejemplo funciona pero tiene una estructura de dependencia diferente.

Great. Regards

yanncarlier commented 8 months ago

I have the same issue building on Ubuntu 22:

speech recognition failed: MissingPluginException(No implementation found for method initialize on channel plugin.csdcorp.com/speech_to_text

the code: https://pub.dev/packages/speech_to_text/example

pubspec.yaml

name: namer_app description: A new Flutter project.

publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 0.0.1+1

environment: sdk: ">=2.19.4 <4.0.0"

dependencies: flutter: sdk: flutter

english_words: ^4.0.0 provider: ^6.0.0 speech_to_text: ^6.3.0

dev_dependencies: flutter_test: sdk: flutter

flutter_lints: ^2.0.0

flutter: uses-material-design: true

bdlukaa commented 8 months ago

@yanncarlier as it may seem, Linux is not a supported platform

hansvdam commented 7 months ago

@yanncarlier I have the same. running web-version from android studio gives no problem, but when deploying a web build to Firebase I get this error (in the chrome console)

yanncarlier commented 7 months ago

Works fro me as web build on my local Ubuntu 22.04.3 LTS from Visual Studio Fluter Launching lib/main.dart on Chrome in debug mode...

hazaimeh1991 commented 4 months ago

MissingPluginException(No implementation found for method availableCameras on channel plugins.flutter.io/camera)