0

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.

1 Answer 1

1

I resolved this by upgrading dagger version from 2.10 to 2.15. Hope this helps someone.

Sign up to request clarification or add additional context in comments.

1 Comment

if you find your solution, then you can also accept your answer. So others can get it helpful

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.