FlutterToast: MissingPluginException
Exception while invoking
Fluttertoast.showToast(
msg: _message,
toastLength: Toast.LENGTH_LONG,
gravity: ToastGravity.CENTER,
timeInSecForIos: 1,
bgcolor: "#e74c3c",
textcolor: '#ffffff'
);
E/flutter (28857): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (28857): MissingPluginException(No implementation found for method showToast on channel PonnamKarthik/fluttertoast)
E/flutter (28857): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
E/flutter (28857): <asynchronous suspension>
E/flutter (28857): #1 Fluttertoast.showToast (package:fluttertoast/fluttertoast.dart:54:33)
E/flutter (28857): <asynchronous suspension>
E/flutter (28857): #2 AppUtils.refresh (package:grom.......
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 25 (1 by maintainers)
@tiholic try totally restart instead of hot reload
I’m getting the same error… but I’m testing for ios. It worked a few moments ago but now throws the same exception.
Unhandled Exception: MissingPluginException(No implementation found for method showToast on channel PonnamKarthik/fluttertoast)@PonnamKarthikI uninstall the app and install again , works for me…
u need to clean and rebuild app … run these commands in terminal to clean: flutter clean to rebuild: flutter run
Rebuild your app. It will work
Uninstall the app from the device. run flutter clean then rebuild the app
flutter v1.1.6 on mac emulator encountered the same issue
and when ‘flutter build apk’, failed with follow
why not update flutter to latest stable? after build, the dio package failed to requst network, and also flutter_webview_plugin was partially succeed to show link, others shows
err::ERR_CACHE_MISS@PonnamKarthik