Skip to content
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

Duplicated Android Sdk #350

Open
DowsingUK opened this issue Jul 7, 2022 · 5 comments
Open

Duplicated Android Sdk #350

DowsingUK opened this issue Jul 7, 2022 · 5 comments

Comments

@DowsingUK
Copy link

General information

  • SDK/Library version:
  • Environment:
  • Android Version and Device:

implementation 'com.braintreepayments.api:drop-in:6.1.0'
implementation 'com.izettle.payments:android-sdk-ui:1.30.1'

Issue description

Is there a way to avoid this error? thank you so much!

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class lib.android.paypal.com.magnessdk.Environment found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.InvalidInputException found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.MagnesResult found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.MagnesSDK found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.MagnesSettings found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.MagnesSettings$Builder found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.MagnesSettings$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.MagnesSource found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$b$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$b$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$b$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d$d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d$e found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$d$f found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$e found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$e$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$e$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$e$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$f found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$f$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$g found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$h found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$h$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$h$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$h$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$h$d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$i found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$j found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$k found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$k$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$k$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$l found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$m found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.c$n found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.e found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.f found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.f$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.g found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.g$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.g$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.g$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.g$d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.g$e found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.h found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.h$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.h$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.h$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.h$d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.i found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.j found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.j$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.k found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.k$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.k$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.k$c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.k$d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.l found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.l$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.l$b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.m found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.n.a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.n.b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.n.c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.n.d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.MagnesNetworking found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.MagnesNetworkingFactory found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.MagnesNetworkingFactoryImpl found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.MagnesNetworkingFactoryImpl$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.PayPalCertificate found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.c found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.d found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.e found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.e$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.network.base.f found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.o.a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.o.a$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.p.a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.p.a$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.p.b found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)
Duplicate class lib.android.paypal.com.magnessdk.p.b$a found in modules jetified-core-1.30.1-runtime (com.izettle.android.sdk:core:1.30.1) and jetified-data-collector-4.10.1-runtime (com.braintreepayments.api:data-collector:4.10.1)

@sshropshire
Copy link
Contributor

Hi @DowsingUK thanks for using the Braintree SDK for Android. We have a 3rd-party jar library in common with iZettle we may have to investigate further on a potential solution.

In the meantime, would you be able to wrap either the BT SDK or iZettle SDK in it's own module and create a wrapper class of your own to interact with the SDK? If you then import it as implementation in your app, it may help fix duplicate symbol errors.

@DowsingUK
Copy link
Author

Thank you! I'm trying your suggested solution I'll be posting about it soon

@DowsingUK
Copy link
Author

DowsingUK commented Jul 12, 2022

Nothing is working I have tried everything and always an error pops up somewhere, is there any plan to release a fix for this?, thank you

@DowsingUK
Copy link
Author

I think I found a potential solution using fat-aar I just don't know how secure is it and do you think it could create any malfunction in the SDK?

@sshropshire
Copy link
Contributor

@DowsingUK Using a fat aar should be fine since this is a compile time issue. We are still following up to see if we can provide a solution on our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants