Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via Stack Overflow by eoinzy

    You have too many methods (more than 65k) in your project and libs.

    Prevent the Problem: Reduce the number of methods with Play Services 6.5+ and support-v4 24.2+. To fix include multidex library in gradle:

    com.android.support:multidex:1.0.0
    

Solutions on the web

via GitHub by kageiit
, 1 year ago
field ID not in [0, 0xffff]: 65536
via Stack Overflow by Peter Fortuin
, 2 years ago
field ID not in [0, 0xffff]: 65536
via GitHub by blanedaze
, 2 years ago
via GitHub by husky-yooho
, 2 years ago
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)