Getting duplicates but hard to figure out what is the original packages causing it


(Edgar (Algebr)) #1

I get duplicate exceptions for an android project of mine:

java.util.zip.ZipException: duplicate entry:

But when I try to figure out what caused it, via:

./gradlew :app:transformClassesWithJarMergingForDev19Debug --stacktrace --info | ag PipelineDraweeControllerFactory.class

I get meaningless things like

addJar(/Users/Edgar/.android/build-cache/47f5d661c754aaf71f1b875951c55da335e68b69/output/jars/classes.jar): entry com/facebook/drawee/backends/pipeline/PipelineDraweeControllerFactory.class
addJar(/Users/Edgar/.android/build-cache/b4315624b9b4d46f6441031a4f0de2e5dbf14fff/output/jars/classes.jar): entry com/facebook/drawee/backends/pipeline/PipelineDraweeControllerFactory.class

Whereas I expected build-cache/some-hash to be the original dependency name.

How can I map back the original dependencies which are causing the conflict?