com.android.dex.DexIndexOverflowException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 814#234677325
    via GitHub by kageiit
    ,
  • Multidex in IntelliJ IDEA with Maven
    via Stack Overflow by Mark Sitro
    ,
  • DexIndexOverflowException with ant
    via Stack Overflow by Peter Fortuin
    ,
    • com.android.dex.DexIndexOverflowException: field ID not in [0, 0xffff]: 65536 at com.android.dx.merge.DexMerger$5.updateIndex(DexMerger.java:482) at com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:302) at com.android.dx.merge.DexMerger.mergeFieldIds(DexMerger.java:490) at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:173) at com.android.dx.merge.DexMerger.merge(DexMerger.java:195) at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:488) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334) at com.android.dx.command.dexer.Main.run(Main.java:268) at com.android.dx.command.dexer.Main.run(Main.java:238) at com.facebook.buck.android.DxStep.executeInProcess(DxStep.java:206) at com.facebook.buck.android.DxStep.execute(DxStep.java:186) at com.facebook.buck.step.CompositeStep.execute(CompositeStep.java:43) at com.facebook.buck.step.CompositeStep.execute(CompositeStep.java:43) at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:63) at com.facebook.buck.step.DefaultStepRunner$2$1.call(DefaultStepRunner.java:124) at com.facebook.buck.step.DefaultStepRunner$2$1.call(DefaultStepRunner.java:1) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,