-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Error bigPictureStyle.bigLargeIcon(null) v17.1.2 #2329
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
Comments
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 Android<https://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 GitHub<#2329 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AH5D2QRQISSBQ2DYJJUQ6PDZJT23HAVCNFSM6AAAAABIJFCMQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGE4TCOBVGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@godzyken could you write in English please? |
I just had this issue for the first time today. I was on master branch I moved to 17.2.0 and it still occurrs I downgraded to master branch 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: Therefor I believe the issue is caused with flutter PR flutter/flutter#150952 |
Very helpful, thanks @mark8044 for bisecting! That commit changes Looking at the Git log between those, it's just three commits: Seems like the last one is the most likely to be related. It's upgrading a long list of AndroidX dependencies. |
(The related flutter_local_notifications_platform_interface plugin is also upgraded to the latest.) After the Flutter upstream commit: flutter/flutter@f23dbc5 a build error related to flutter_local_notifications plugin occurs when trying to run the app on Android. The upgrade to flutter_local_notifications ^7.2.0 version resolves the issue. More about the issue: MaikuB/flutter_local_notifications#2329 Fixes: zulip#771
Also flutter_local_notifications_platform_interface. After the Flutter upstream commit: flutter/flutter@f23dbc5 a build error related to flutter_local_notifications plugin occurs when trying to run the app on Android. The upgrade to flutter_local_notifications 17.2.1 resolves the issue. More about the issue: MaikuB/flutter_local_notifications#2329 Fixes: zulip#771
exact error is back on flutter 3.24? |
I too have similar problem when I run flutter build appbundle. 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 |
@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. |
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. |
thanks this solution slove my issus |
thanks this solution solve my issues. |
Just update the 'flutter_local_notifications' to latest version solve this issue |
Thank' you 🥇 |
AppData\Local\Pub\Cache\hosted\pub.dev\flutter_local_notifications-16.3.3\android\src\main\java\com\dexterous\flutterlocalnotifications\FlutterLocalNotificationsPlugin.java:1033: error: reference to bigLargeIcon is ambiguous Manually Fix the Code (Temporary Solution)
|
@Anandk02 your error indicates you're on an older version (16.3.3), others are saying you should be able to upgrade to 17.2.1 to fix it. If you need version 16.3.3, this could be another approach |
I'm using simple_push_notifications package which uses version 14.0.0 and this error persists. |
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
The text was updated successfully, but these errors were encountered: