Duplicate Classes In Same Jars Of Different Versions - Android
I was trying to integrate iText in my Android Studio project when the sync successfully completed. Then I wrote some code and tried to build and test it when it gave an error (A hu
Solution 1:
Thanks to the guys in the comments, I could solve the problem quite easily.
What i did was ran gradlew app:dependencies
and it gave me a dependency tree.
From that tree i could make out which parts of the library required which transitive dependencies and i excluded the jcommon library of the lower version which did not have any other dependencies using:
exclude group: 'jfree', module: 'jcommon'
Post a Comment for "Duplicate Classes In Same Jars Of Different Versions - Android"