ponnamkarthik / FlutterToast

Toast Plugin for Flutter
MIT License
1.43k stars 349 forks source link

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

Open fisforfaheem opened 8 months ago

fisforfaheem commented 8 months ago

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 commented 8 months ago

what should be done :(

On Fri, Nov 17, 2023 at 9:55 PM Erkam @.***> wrote:

same problem here

— Reply to this email directly, view it on GitHub https://github.com/ponnamkarthik/FlutterToast/issues/476#issuecomment-1816770432, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSESTN3ZC4RZLHKGFGLYE6JIBAVCNFSM6AAAAAA7OQFV26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWG43TANBTGI . You are receiving this because you authored the thread.Message ID: @.***>

Erkam246 commented 8 months ago

Idk how but i fixed it somehow

KamilSvoboda commented 7 months ago

Idk how but i fixed it somehow

in my case this helped:

flutter pub clean
dart pub cache repair
flutter pub get
nerufuyo commented 7 months ago

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 commented 7 months ago

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

fisforfaheem commented 7 months ago

these commands wont run

KamilSvoboda commented 7 months ago

these commands wont run

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

fisforfaheem commented 7 months ago

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 https://github.com/ponnamkarthik/FlutterToast/issues/476#issuecomment-1821017939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSFUFL5SNCXBF53WKRLYFS2H5AVCNFSM6AAAAAA7OQFV26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGAYTOOJTHE . You are receiving this because you authored the thread.Message ID: @.***>

KamilSvoboda commented 7 months ago

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 commented 7 months ago

Ah, I see.

On Sun, Nov 26, 2023, 12:18 AM Kamil Svoboda @.***> wrote:

It says. Not found command … <#m-8623339370199335962> 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) https://github.com/ponnamkarthik/FlutterToast/issues/476#issuecomment-1821017939>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSFUFL5SNCXBF53WKRLYFS2H5AVCNFSM6AAAAAA7OQFV26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGAYTOOJTHE 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 installation guide here https://docs.flutter.dev/get-started/install

— Reply to this email directly, view it on GitHub https://github.com/ponnamkarthik/FlutterToast/issues/476#issuecomment-1826402211, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSE24WY7ZEFROOYWINLYGI76VAVCNFSM6AAAAAA7OQFV26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGQYDEMRRGE . You are receiving this because you authored the thread.Message ID: @.***>

Krishnabh-Das commented 6 months ago

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