Android Kinde SDK not compatible with Stripe?
I am using the kinde sdk for android and the stripe sdk for android, latest versions for both. When I try to build the app, it gives me many duplicate class errors with androidx.browser, which is used in the stripe sdk. here is one of the errors:
Duplicate class android.support.customtabs.ICustomTabsCallback found in modules android-sdk-1.2.3.aar -> android-sdk-1.2.3-runtime (com.kinde:android-sdk:1.2.3) and browser-1.7.0.aar -> browser-1.7.0-runtime (androidx.browser:browser:1.7.0)
there are about 100 other errors but they are all similar in that they are duplicate class errors with kinde:android-sdk and androidx.browser:browser
2 Replies
Hi Mohit. I'll check in with our Android SDK person and see if the SDK is due for an update.
Sorry about this Mohit,
This solves duplication issue:
in build.gradle exclude browser from stripe dependency::
implementation ('com.stripe:stripe-android:20.48.4') {
exclude group: "androidx.browser", module: "browser"
}
Let us know how you go