ponnamkarthik/FlutterToast

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

fisforfaheem opened this issue · 11 comments

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

Idk how but i fixed it somehow

Idk how but i fixed it somehow

in my case this helped:

flutter pub clean
dart pub cache repair
flutter pub get

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?

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

these commands wont run

these commands wont run

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

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

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