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 IgorGanapolsky
, 1 year ago
method ID not in [0, 0xffff]: 65536
via GitHub by dzfacts
, 2 years ago
via GitHub by tinybearc
, 1 year ago
method ID not in [0, 0xffff]: 65536
via GitHub by tinybearc
, 1 year ago
method ID not in [0, 0xffff]: 65536
via Stack Overflow by Sagar
, 2 years ago
method ID not in [0, 0xffff]: 65536
via Stack Overflow by Unknown author, 2 years ago
com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536	at com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502)	at com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277)	at com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)	at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)	at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)	at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)	at com.android.dx.command.dexer.Main.run(Main.java:246)	at com.android.dx.command.dexer.Main.main(Main.java:215)	at com.android.dx.command.Main.main(Main.java:106)