Closed JaTocora closed 4 months ago
pareil quelqu'un à t'il resolu ce probleme?
Whilst I understand why you're seeing this, this isn't something I've seen that can reproduced and hasn't happened via the pipelines. I suspect it might be an issue specific with the Android SDK you're using
I faced this problem too, and I don't understand the reason ;(
Which versions of the Android SDK do you have installed? I only have the ones for Android 13 and 14 installed and don't have this issue
J'ai aussi 13 et 14
Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg
From: Michael Bui @.> Sent: Friday, June 28, 2024 7:52:51 AM To: MaikuB/flutter_local_notifications @.> Cc: Dore Emryck @.>; Comment @.> Subject: Re: [MaikuB/flutter_local_notifications] Error bigPictureStyle.bigLargeIcon(null) v17.1.2 (Issue #2329)
Which versions of the Android SDK do you have installed? I only have the ones for Android 13 and 14 installed and don't have this issue
— Reply to this email directly, view it on GitHubhttps://github.com/MaikuB/flutter_local_notifications/issues/2329#issuecomment-2196191852, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5D2QRQISSBQ2DYJJUQ6PDZJT23HAVCNFSM6AAAAABIJFCMQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGE4TCOBVGI. You are receiving this because you commented.Message ID: @.***>
@godzyken could you write in English please?
@godzyken could you write in English please?
I just had this issue for the first time today.
I was on master branch Flutter 3.23.0-13.0.pre.300
and 17.1.2 perfectly fine, then upgraded to master branch Flutter 3.23.0-13.0.pre.370
and I got the error.
I moved to 17.2.0 and it still occurrs
I downgraded to master branch Flutter 3.23.0-13.0.pre.300
and its gone.
This only occurs on Android. I did not change anything with android SDK (Platform android-34, build-tools 34.0.0). iOS remains ok.
I think something has changed in latest flutter framework, so I believe this needs attention
EDIT: Bisecting the issue:
Commit f23dbc50f05c56ef5be871203bb4f167f07df845
is BAD (6/26/24)
Commit 69ff23b3debe9ce1e447439557c09c0bf84bb24b
is OK (6/26/24)
Commit 2d02215080e8cc36b4f5c8287f6935525fa3c643
is OK (6/26/24)
Therefor I believe the issue is caused with flutter PR https://github.com/flutter/flutter/pull/150952 That PR is a rabbit hole of rolled changes
Very helpful, thanks @mark8044 for bisecting!
That commit changes bin/internal/engine.version
from flutter/engine@d1506c12808ec42e1b277376c4c2b1bd4ec20ac7 to flutter/engine@ddd4814b9d407962eee4dc52919e3abddb0c3641.
Looking at the Git log between those, it's just three commits: flutter/engine@3f40c6875 Fix AccessibilityFeatures.disableAnimations flag on Android 12+ (flutter/engine#53428) flutter/engine@7ccef46a8 Roll Skia from dee7339d0b53 to c73e514838b4 (7 revisions) (flutter/engine#53613) flutter/engine@ddd4814b9 Re-re-re-land "Upgrade all[most] androidx dependencies to latest" (flutter/engine#53592)
Seems like the last one is the most likely to be related. It's upgrading a long list of AndroidX dependencies.
exact error is back on flutter 3.24? I just saw one of our CI fail with this error I'll report back with more info soon
I too have similar problem when I run flutter build appbundle. flutter build version 3.24
Using flutter_local_notifications: ^17.2.1+2 is no problem
Yes, the issue was fixed in #2355 which went out in flutter_local_notifications 17.2.1. If you're seeing the issue on an older version, you need to upgrade.
Its is very much not fixed
@cyberpwnn If you include details of what you're seeing, that can make it possible for someone to act on your report.
@gnprice @cyberpwnn I have the same error
@Volko61 Your error message shows you're using version 12.0.4 of this library. That is older than the fix for this issue. I recommend upgrading.
(Upgrading your dependencies is a good idea in general — but in particular when there's a bug that's been fixed and you want the fix, upgrading is the way you get the fix.)
Unfortunately I can't due to to conflicting dependencies. However, I edited the java file to cast and handle null and now it is working
@gnprice @cyberpwnn I have the same error
same issue
I got this error after update the flutter to the latest release, simply i upgrade the flutter local notification package to the last release.
You can do one of these, down grade flutter to the release that working fine or upgrade the package to the last release.
I too got this after updating to latest flutter version. Just update the 'flutter_local_notifications' to latest version.
I too have similar problem when I run flutter build appbundle. flutter build version 3.24
Using flutter_local_notifications: ^17.2.1+2 is no problem
thanks this solution slove my issus
I too have similar problem when I run flutter build appbundle. flutter build version 3.24
Using flutter_local_notifications: ^17.2.1+2 is no problem
thanks this solution solve my issues.
Just update the 'flutter_local_notifications' to latest version solve this issue
I too have similar problem when I run flutter build appbundle. flutter build version 3.24
Using flutter_local_notifications: ^17.2.1+2 is no problem
Thank' you 🥇
flutter_local_notifications-17.1.2/android/src/main/java/com/dexterous/flutterlocalnotifications/FlutterLocalNotificationsPlugin.java:1033: error: reference to bigLargeIcon is ambiguous bigPictureStyle.bigLargeIcon(null); ^ both method bigLargeIcon(Bitmap) in BigPictureStyle and method bigLargeIcon(Icon) in BigPictureStyle match