You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting this error when I run my app after adding firebase messaging to my .yaml file:
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.google.firebase.iid.FirebaseInstanceIdReceiver found in modules jetified-firebase-iid-20.1.5-runtime (com.google.firebase:firebase-iid:20.1.5) and jetified-firebase-messaging-24.0.3-runtime (com.google.firebase:firebase-messaging:24.0.3)
I've tried everything (as far as I'm aware of) and nothing solves the issue. It might be worth pointing out that I have the google ml kit dependency added within my pubspec.yaml file, and when I remove that but keep firebase messaging within the same file it still works. Any help at all would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I keep getting this error when I run my app after adding firebase messaging to my .yaml file:
I've tried everything (as far as I'm aware of) and nothing solves the issue. It might be worth pointing out that I have the google ml kit dependency added within my pubspec.yaml file, and when I remove that but keep firebase messaging within the same file it still works. Any help at all would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions