adyen-android: After integrating android SDK, app cannot run.
Describe the bug Hi,
My android app is using Java, after I integrated Adyen SDK into the app there is an error report and I can not run the app any more.
This is my build.gradle code:
api ('com.adyen.checkout:card:4.4.0') { exclude(group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8') }
This is the error message: You have duplicate classes with the same name : META-INF.versions.9.module-info please remove duplicate classes
Screenshots
Desktop (please complete the following information):
- OS: Android
Smartphone (please complete the following information):
- Device: Android phone
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (10 by maintainers)
"You have duplicate classes with the same name : META-INF.versions.9.module-info please remove duplicate classes "
This is all info I can get from the error message.
Actually, as there are lots of library integrated in my project, I think there are must some duplicate library between Adyen and the libraries that already exist, but I don’t know which libraries/classes are duplicated.
I did more tests and found, after I excluded all of these libraries, my project can run successfully and I can use Adyen classes, but when I load these classes(like CardView) the project will crash.