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

GitHub | man2 | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Update the AS and Android Gradle plugins.
  2. 0

    build.phonegap.com - Android BUILD FAILED

    GitHub | 1 year ago | Reon90
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
  3. 0

    Multiple dex files in Android Studio?

    Stack Overflow | 2 years ago | iptikar promotion
    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

    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;
  6. 0

    Multiple dex files define Landroid/support/annotation/AnimRes after adding StikkyHeader android project

    pr8x.com | 1 year ago
    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:579)
      2. com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:535)
      3. com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:517)
      4. com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:164)
      5. com.android.dx.merge.DexMerger.merge(DexMerger.java:188)
      6. com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:504)
      7. com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
      8. com.android.dx.command.dexer.Main.run(Main.java:277)
      9. com.android.dx.command.dexer.Main.main(Main.java:245)
      10. com.android.dx.command.Main.main(Main.java:106)
      10 frames