Get which compile calls are causing Duplicate Files

(Edgar (Algebr)) #1

I have this error happening:

* What went wrong:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDevDebug'.
> Duplicate files copied in APK lib/x86/
        File1: /Users/Edgar/.android/build-cache/7af081ea5824047ed9f670d9ff4825de2ba11f0c/output/jni
        File2: /Users/Edgar/.android/build-cache/fe2711efebc0826693fa11773ed3cba6b263d013/output/jni

Which to me says that I must have at two compile calls which both install that .so.

Can someone help with some groovy code that could show which two package are in conflict, like from the original compile calls.