com.android.dex.DexIndexOverflowException: field ID not in [0, 0xffff]: 65536

GitHub | kageiit | 8 months 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

    GitHub comment 814#234677325

    GitHub | 8 months ago | kageiit
    com.android.dex.DexIndexOverflowException: field ID not in [0, 0xffff]: 65536
  2. 0

    How the buck solve the problem: DexIndexOverflowException?

    GitHub | 1 year ago | husky-yooho
    com.android.dex.DexIndexOverflowException: field ID not in [0, 0xffff]: 65536
  3. 0

    Android "DexIndexOverflowException" error from codename one android build latest version

    GitHub | 2 years ago | RonaldCY
    com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UNEXPECTED TOP-LEVEL EXCEPTION: in Android Studio

    Stack Overflow | 1 year ago | Rohan Kandwal
    com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
  6. 0

    Unable to execute dx, using Google Play Services on Android Studio

    Stack Overflow | 1 year ago | Bricio Velazquez
    com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

    4 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.DexIndexOverflowException

      field ID not in [0, 0xffff]: 65536

      at com.android.dx.merge.DexMerger$5.updateIndex()
    2. Android SDK's dx Tool
      Main.run
      1. com.android.dx.merge.DexMerger$5.updateIndex(DexMerger.java:482)
      2. com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:302)
      3. com.android.dx.merge.DexMerger.mergeFieldIds(DexMerger.java:490)
      4. com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:173)
      5. com.android.dx.merge.DexMerger.merge(DexMerger.java:195)
      6. com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:488)
      7. com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
      8. com.android.dx.command.dexer.Main.run(Main.java:268)
      9. com.android.dx.command.dexer.Main.run(Main.java:238)
      9 frames
    3. com.facebook.buck
      DefaultStepRunner$2$1.call
      1. com.facebook.buck.android.DxStep.executeInProcess(DxStep.java:206)
      2. com.facebook.buck.android.DxStep.execute(DxStep.java:186)
      3. com.facebook.buck.step.CompositeStep.execute(CompositeStep.java:43)
      4. com.facebook.buck.step.CompositeStep.execute(CompositeStep.java:43)
      5. com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:63)
      6. com.facebook.buck.step.DefaultStepRunner$2$1.call(DefaultStepRunner.java:124)
      7. com.facebook.buck.step.DefaultStepRunner$2$1.call(DefaultStepRunner.java:1)
      7 frames
    4. Guava
      TrustedListenableFutureTask.run
      1. com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108)
      2. com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41)
      3. com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames
    6. com.facebook.buck
      DefaultStepRunner$2$1.call
      1. com.facebook.buck.step.StepFailedException.createForFailingStepWithException(StepFailedException.java:85)
      2. com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:65)
      3. com.facebook.buck.step.DefaultStepRunner$2$1.call(DefaultStepRunner.java:124)
      4. com.facebook.buck.step.DefaultStepRunner$2$1.call(DefaultStepRunner.java:1)
      4 frames
    7. Guava
      TrustedListenableFutureTask.run
      1. com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108)
      2. com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41)
      3. com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77)
      3 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames