Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No implementation found for method write on channel plugins.it_nomads.com/flutter_secure_storage

I was trying to store the login credentials of a user upon login, but I'm getting this error again and again. Things I've tried:

  1. Restarting app
  2. Uninstalling and reinstalling app
  3. updating the flutter_secure_storage to the latest version

Here's the flutter doctor summary

    • Flutter version 1.17.5 at /home/piyush/flutter
    • Framework revision 8af6b2f038 (12 days ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/piyush/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /home/piyush/Downloads/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /home/piyush/Downloads/android-studio
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.12.2

[✓] Connected device (1 available)
    • RMX1851 • 580c132b • android-arm64 • Android 10 (API 29)```
like image 914
PIyush Avatar asked Jul 13 '20 05:07

PIyush


Video Answer


2 Answers

"MissingPluginException" or "Implementation not found" errors thrown by plugins usually occurs when the plugin wasn't properly "installed" in the Flutter project.

If you are using hot restart or hot reload after adding the plugin, this may not be able inject plugin dependencies into the platform-specific parts of the app, hot restart/hot reload is not enough to trigger the injection. What you can do here is run flutter clean and flutter pub get to rebuild the dependencies used in the project.

like image 177
Omatt Avatar answered Oct 19 '22 11:10

Omatt


"MissingPluginException" or "Implementation not found" errors thrown by plugins usually occurs when the plugin wasn't properly "installed" in the Flutter project.

These solutions may not be able to inject plugin dependencies into the platform-specific parts of the app. What you can do here is run flutter clean and flutter pub gets to rebuild the dependencies used in the project.

Also check that if that package supports your platform or not.if platform is not supported than find another package with your platform support.

like image 39
Nijat Namazzade Avatar answered Oct 23 '22 04:10

Nijat Namazzade