skip to Main Content

MissingPluginException (MissingPluginException(No implementation found for method loadModel on channel tflite))

enter image description here

I have stuck withh flutter and tflite :

 loadModel() async {
    await Tflite.loadModel(
      model: 'assets/model_unquant.tflite',
      labels: 'assets/labels.txt',
    );
  }

I used latest version

  tflite: ^1.1.2

I try downgrade but not possible

2

Answers


  1. Try running "flutter clean" and "flutter pub get".

    Stop the running application and re-run.

    Login or Signup to reply.
  2. run the following commands on your project terminal:

    1. stopping the app
    2. flutter clean
    3. flutter pub get
    4. flutter run
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search