simolus3 / fluttie

Easily display stunning Lottie animations in flutter apps with this plugin.
Other
453 stars 54 forks source link

MissingPluginException when instantiating Fluttie #2

Closed KgotsoK closed 6 years ago

KgotsoK commented 6 years ago

I can't seen to figure out why I'm getting this exception:

I/flutter (19808): ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
I/flutter (19808): The following MissingPluginException was thrown while activating platform stream on channel
I/flutter (19808): fluttie/events:
I/flutter (19808): MissingPluginException(No implementation found for method listen on channel fluttie/events)

The code throws an exception anywhere where I try to instantiate the Fluttie instance:

  Fluttie instance = new Fluttie();

This is my setup:

Flutter 0.2.3 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5a58b36e36 (3 weeks ago) • 2018-03-13 13:20:13 -0700
Engine • revision e61bb9ac3a
Tools • Dart 2.0.0-dev.35.flutter-290c576264

Please do help,

KgotsoK commented 6 years ago

Solved with:

flutter clean
flutter packages get
flutter run