i implemented \'com.stripe:stripe-android:8.5.0\'
into my app gradle, and then i got the following error trying to build my project:
Manifest
stripe-android
is using AndroidX and included CoreComponentFactory
class. Actually, your project already has this class, so try excluding the module from gradle which already exists or override the values in Manifest file as suggested by IDE or migrate your project to AndroidX from Refactor-> Migrate To AndroidX
.
Another solution is to use the older version of the stripe android library that doesn't use AndroidX inside.
It's not about AndroidManifest.xml of your app.
The error message is telling that there is a collision between support-compat library 28.0.0 and other library using androidx. I doubt this stripe library is built with androidx. 'com.stripe:stripe-android:8.5.0'
You can resolve the issue by migrating your app to use androidx instead of old support libraries.