You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We got "Duplicate class com.squareup.Pan found in modules jetified-card-42.jar (com.squareup.android:card:42) and jetified-reader-sdk-internals-1.5.1.jar (com.squareup.sdk.reader:reader-sdk-internals:1.5.1)" error when building our project which support Square in-app purchase and reader SDK.
We can get through this error by adding exclude statement:
implementation("com.squareup.sdk.in-app-payments:card-entry:1.5.0") {
exclude group : 'com.squareup.android',module:'card'
}
However it will crash when taking payment with in-app purchase.
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/Card$Brand;
at sqip.internal.CardEditorState.<init>(CardEditorState.kt:23)
at sqip.internal.BaseCardEntryActivity.onCreate(BaseCardEntryActivity.kt:119)
at sqip.internal.CardEntryActivity.onCreate(CardEntryActivity.kt:38)
at android.app.Activity.performCreate(Activity.java:8183)
at android.app.Activity.performCreate(Activity.java:8167)
Please help resolve this issue.
The text was updated successfully, but these errors were encountered:
We got "Duplicate class com.squareup.Pan found in modules jetified-card-42.jar (com.squareup.android:card:42) and jetified-reader-sdk-internals-1.5.1.jar (com.squareup.sdk.reader:reader-sdk-internals:1.5.1)" error when building our project which support Square in-app purchase and reader SDK.
We can get through this error by adding exclude statement:
However it will crash when taking payment with in-app purchase.
Please help resolve this issue.
The text was updated successfully, but these errors were encountered: