bamlab / react-native-braintree-payments-drop-in

React Native integration of Braintree Drop-in
MIT License
35 stars 31 forks source link

Build issue RN7 with 1.1.4 Android #42

Open cemergen opened 1 year ago

cemergen commented 1 year ago

Any suggestions?

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

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class com.braintreepayments.api.BuildConfig found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-braintree-core-4.26.0-runtime (com.braintreepayments.api:braintree-core:4.26.0) Duplicate class com.braintreepayments.api.Card found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-card-4.26.0-runtime (com.braintreepayments.api:card:4.26.0) Duplicate class com.braintreepayments.api.Card$1 found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-card-4.26.0-runtime (com.braintreepayments.api:card:4.26.0) Duplicate class com.braintreepayments.api.CrashReporter found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-braintree-core-4.26.0-runtime (com.braintreepayments.api:braintree-core:4.26.0) Duplicate class com.braintreepayments.api.DataCollector found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-data-collector-4.26.0-runtime (com.braintreepayments.api:data-collector:4.26.0) Duplicate class com.braintreepayments.api.DataCollector$1 found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-data-collector-4.26.0-runtime (com.braintreepayments.api:data-collector:4.26.0) Duplicate class com.braintreepayments.api.DataCollector$1$1 found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-data-collector-4.26.0-runtime (com.braintreepayments.api:data-collector:4.26.0) Duplicate class com.braintreepayments.api.Json found in modules jetified-core-3.14.2-runtime (com.braintreepayments.api:core:3.14.2) and jetified-shared-utils-4.26.0-runtime (com.braintreepayments.api:shared-utils:4.26.0) Duplicate class com.braintreepayments.api.PaymentMethod found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-braintree-core-4.26.0-runtime (com.braintreepayments.api:braintree-core:4.26.0) Duplicate class com.braintreepayments.api.ThreeDSecureActivity found in modules jetified-braintree-3.14.2-runtime (com.braintreepayments.api:braintree:3.14.2) and jetified-three-d-secure-4.26.0-runtime (com.braintreepayments.api:three-d-secure:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.Environment found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.InvalidInputException found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.MagnesResult found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.MagnesSDK found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.MagnesSettings found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.MagnesSettings$Builder found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.MagnesSource found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.a found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.b found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.c found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.c$a found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.c$b found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.c$c found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.c$d found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.c$e found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.d found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0) Duplicate class lib.android.paypal.com.magnessdk.e found in modules jetified-data-collector-3.14.2-runtime (com.paypal.android.sdk:data-collector:3.14.2) and jetified-paypal-data-collector-4.26.0-runtime (com.braintreepayments.api:paypal-data-collector:4.26.0)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.`