Skip to content

[Bug] Duplicate class com.google.firebase.iid.FirebaseInstanceIdReceiver found #1274

Closed
@revolt3r

Description

@revolt3r

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2020.3.34
  • Firebase Unity SDK version: 8.10.1
  • Source you installed the SDK: .tgz with Unity Package Manager
  • Problematic Firebase Component: Messaging?
  • Other Firebase Components in use: Auth, Database, Firestore, Functions, Messaging, RemoteConfig, Analytics
  • Additional SDKs you are using: I think that's not relevant for this issue
  • Platform you are using the Unity editor on: Windows
  • Platform you are targeting: iOS, Android
  • Scripting Runtime: IL2CPP

[REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? 100%

What happened? How can we make the problem occur?
Building fails with the following error:

Execution failed for task ':launcher:checkDebugDuplicateClasses'.

1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class com.google.firebase.iid.FirebaseInstanceIdReceiver found in modules jetified-firebase-iid-20.0.1-runtime.jar (com.google.firebase:firebase-iid:20.0.1) and jetified-firebase-messaging-23.0.3-runtime.jar (com.google.firebase:firebase-messaging:23.0.3)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions