com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

JIRA | Qiu ZhongX | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    UNEXPECTED TOP-LEVEL EXCEPTION - Android Studio

    Stack Overflow | 2 years ago | user3076440
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
  2. 0

    I get a DexExeption when building project in Android Studio

    Stack Overflow | 2 years ago | user3456413
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
  3. 0

    Multiple dex files define Landroid/support/annotation/AnimRes (Cordova 5.0.0 / Cordova Android 4.0.0)

    GitHub | 2 years ago | bluehayes
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error resolving dependencies with Gradle, in Android project

    Stack Overflow | 2 years ago
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
  6. 0

    UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes

    Stack Overflow | 2 years ago | eyal
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

    46 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.android.dex.DexException

      Multiple dex files define Landroid/support/annotation/AnimRes;

      at com.android.dx.merge.DexMerger.readSortableTypes()
    2. Android SDK's dx Tool
      Main.main
      1. com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
      2. com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
      3. com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
      4. com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
      5. com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
      6. com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
      7. com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
      8. com.android.dx.command.dexer.Main.run(Main.java:246)
      9. com.android.dx.command.dexer.Main.main(Main.java:215)
      10. com.android.dx.command.Main.main(Main.java:106)
      10 frames