Skip to content

duplicate class error #1664

Description

@sjqnice

Braintree SDK Version

5.31.0

Environment

Both

Android Version & Device

No response

Braintree dependencies

com.braintreepayments.api:data-collector:5.31.0
com.pingxx:pingpp-android:2.3.6

Describe the bug

Duplicate class a.a found in modules data-collector-5.31.0.aar -> data-collector-5.31.0-runtime (com.braintreepayments.api:data-collector:5.31.0) and pingpp-android-2.3.6.aar -> pingpp-android-2.3.6-runtime (com.pingxx:pingpp-android:2.3.6)
Duplicate class a.b found in modules data-collector-5.31.0.aar -> data-collector-5.31.0-runtime (com.braintreepayments.api:data-collector:5.31.0) and pingpp-android-2.3.6.aar -> pingpp-android-2.3.6-runtime (com.pingxx:pingpp-android:2.3.6)
Duplicate class a.c found in modules data-collector-5.31.0.aar -> data-collector-5.31.0-runtime (com.braintreepayments.api:data-collector:5.31.0) and pingpp-android-2.3.6.aar -> pingpp-android-2.3.6-runtime (com.pingxx:pingpp-android:2.3.6)
Duplicate class a.d found in modules data-collector-5.31.0.aar -> data-collector-5.31.0-runtime (com.braintreepayments.api:data-collector:5.31.0) and pingpp-android-2.3.6.aar -> pingpp-android-2.3.6-runtime (com.pingxx:pingpp-android:2.3.6)

Learn how to fix dependency resolution errors at https://d.android.com/r/tools/classpath-sync-errors

To reproduce

implementation both com.braintreepayments.api:data-collector:5.31.0 and com.pingxx:pingpp-android:2.3.6 can see the error.

Expected behavior

Both modules should be able to be installed together without class conflicts

Screenshots

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    external-dependecyThis fix requires an upgrade to an external dependency that we do not own

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions