wgltony / react-native-braintree-dropin-ui

React Native integration of Braintree Drop-in for IOS & ANDROID (Apple Pay, Google Pay, Paypal, Venmo, Credit Card)
MIT License
78 stars 105 forks source link

Duplicate class Error #102

Open cemergen opened 1 year ago

cemergen commented 1 year ago

com.braintreepayments.api.BuildConfig found in modules jetified-braintree-3.14.2-runtime

I'm getting some Duplicate errors when I tried to use 1.1.4 with react native 0.70.5

> 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.27.1-runtime (com.braintreepayments.api:braintree-core:4.27.1) 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.27.1-runtime (com.braintreepayments.api:card:4.27.1) 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.27.1-runtime (com.braintreepayments.api:card:4.27.1) 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.27.1-runtime (com.braintreepayments.api:braintree-core:4.27.1) 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.27.1-runtime (com.braintreepayments.api:shared-utils:4.27.1) 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.27.1-runtime (com.braintreepayments.api:braintree-core:4.27.1) 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.27.1-runtime (com.braintreepayments.api:three-d-secure:4.27.1) 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)

pckz commented 1 year ago

@cemergen did you solve it?