Skip to content
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

kindly fix symbol: class FlutterToastPlugin location: package io.github.ponnamkarthik.toast.fluttertoast #476

Open
fisforfaheem opened this issue Nov 16, 2023 · 11 comments

Comments

@fisforfaheem
Copy link

Note: Recompile with -Xlint:unchecked for details.
/Users/4edoc/Documents/ai_mockinterview/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:89: error: cannot find symbol
flutterEngine.getPlugins().add(new io.github.ponnamkarthik.toast.fluttertoast.FlutterToastPlugin());
^
symbol: class FlutterToastPlugin
location: package io.github.ponnamkarthik.toast.fluttertoast
1 error

@fisforfaheem
Copy link
Author

fisforfaheem commented Nov 18, 2023 via email

@Erkam246
Copy link

Erkam246 commented Nov 18, 2023

Idk how but i fixed it somehow

@KamilSvoboda
Copy link

KamilSvoboda commented Nov 19, 2023

Idk how but i fixed it somehow

in my case this helped:

flutter pub clean
dart pub cache repair
flutter pub get

@nerufuyo
Copy link

Idk how but i fixed it somehow

in my case:

flutter pub clean
dart pub cache repair
flutter pub get

I tried, but still show that error. Is any solution for that?

@yogesheleven
Copy link

@KamilSvoboda thanks for the commands. those commands works for me somehow 😄.

@fisforfaheem
Copy link
Author

these commands wont run

@KamilSvoboda
Copy link

these commands wont run

What do you mean? These are standard Flutter and Dart commands.

@fisforfaheem
Copy link
Author

fisforfaheem commented Nov 25, 2023 via email

@KamilSvoboda
Copy link

KamilSvoboda commented Nov 25, 2023

It says. Not found command

On Tue, Nov 21, 2023, 7:21 PM Kamil Svoboda @.> wrote: these commands wont run What do you mean? These are standard Flutter and Dart commands. — Reply to this email directly, view it on GitHub <#476 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSFUFL5SNCXBF53WKRLYFS2H5AVCNFSM6AAAAAA7OQFV26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGAYTOOJTHE . You are receiving this because you authored the thread.Message ID: @.>

Then you need to check your Dart and Flutter installation. If you have Flutter installed correctly, you can run these commands in the command line.
Check the installation guide here

@fisforfaheem
Copy link
Author

fisforfaheem commented Nov 26, 2023 via email

@Krishnabh-Das
Copy link

Krishnabh-Das commented Jan 16, 2024

I also got the issue
But after trying with multiple techniques, this worked

Check out the Terminals codes in my blog
https://medium.com/@krishnabhdas3/issue-flutterengine-getplugins-add-new-827c3766499c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants