flutter_local_notifications icon indicating copy to clipboard operation
flutter_local_notifications copied to clipboard

Failed: no such method small icon

Open itfesbs opened this issue 2 months ago • 4 comments

Please help me, my app crashes in release mode. I don't understand why this happens.

flutter_local_notifications: ^19.4.2

describe: java.lang.NoSuchMethodError: No static method get(Ljava/lang/String;)Ljava/lang/String; in class Landroid/os/SystemProperties;

reproduce: While the app is running (the app is in use), a notification comes in. When the notification appears, the error occurs.

screenshoot:

Image

Image

I would really appreciate any feedback that could help me resolve this issue.

Thank you.

itfesbs avatar Sep 30 '25 06:09 itfesbs

ups, sorry.. i miss my source code..

Image Image

itfesbs avatar Sep 30 '25 07:09 itfesbs

I started getting this error even with older version of the plugin: 18.0.1 The app crashes because of this error. Can someone help to resolve this issue?

ShubhalaxmiSarwate avatar Oct 09 '25 11:10 ShubhalaxmiSarwate

Same here, im getting the error on version 19.4.2 when running the app in release mode

tungdevpro avatar Nov 10 '25 01:11 tungdevpro

Please check and follow the instructions mentioned here. There were instructions noted for release builds that need to be followed. Not following them leads to the errors mentioned in this issue. If you have followed them then I will need a link to a repository hosting a minimal app that can reproduce the issue

MaikuB avatar Nov 13 '25 09:11 MaikuB