-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility Issue: fluttertoast: 8.2.8 with Latest Flutter SDK #545
Comments
I have read same problem. After updating the flutter sdk , it is not working for me either |
I also got that problem in my existing project. Is there any fix, please? |
Same problem here |
I also experienced the same error. In my case, I updated the version of Flutter, and that version was not a stable version. Flutter's stable version is 3.24. And Flutter recommend use stable version. Run below command
finally, I solved this problem. |
But the issue relates to latest version (3.27.0) @SangWook16074 |
you're right. However, 3.27.0 is currently in beta. Maybe version 3.27.0 is not compatible with fluttertoast 8.2.8 I think we will have to use the stable version 3.24 for now. |
Same problem here. Flutter 3.27+ has 3 warnings.. Unresolved reference: Registrar, FlutterMain, FlutterMain |
The latest version of fluttertoast (8.2.8) throws compilation errors due to the usage of deprecated APIs like PluginRegistry.Registrar and FlutterMain, which are incompatible with the latest Flutter SDK using Android embedding v2.
Error Details:
Unresolved reference: Registrar
Unresolved reference: FlutterMain
Steps to reproduce:
Upgrade Flutter to the latest version (3.27.0)
Add fluttertoast: 8.2.8 to the project.
Build the project.
The text was updated successfully, but these errors were encountered: