I'm getting duplicate class error when building my application.
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: javax.annotation.Nonnegative$Checker
I would like to track down javax.annotation.Nonnegative$Checker and which libraries are using it. Please guide me how to track duplicate classes in android.