Getting error :
Duplicate class xxx found in modules A and and jar.
I need to add 2 libraries, out of which one is dependency library and other is added dependency as jar.
Library internally uses the files present in jar but performs different functionality but the class name is same.
Both library individually works good. Since both have different functionality specified in there library, I cant exclude any of dependency module or say library/dependency.
Error I get while running the project
I have added
android.useAndroidX=true
android.enableJetifier=true
Tried invalidating the cache and rebuilding, still get same error
Ashutosh Ghui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.