java.lang.IllegalArgumentException: method ID not in [0, 0xffff]: 65536

Salesforce | jonney | 2 years 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

    SDK integration overflowing 64k method DEX limit

    GitHub | 3 years ago | shanestaples
    java.lang.IllegalArgumentException: method ID not in [0, 0xffff]: 65536
  2. 0

    Using scaloid in Android Studio

    GitHub | 3 years ago | zoran119
    java.lang.IllegalArgumentException: method ID not in [0, 0xffff]: 65536
  3. 0

    Build Fails on Android Studio 1.0.2

    GitHub | 2 years ago | pcbmaster
    java.lang.IllegalArgumentException: 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 - multiple library projects

    Stack Overflow | 2 years ago | eric
    java.lang.IllegalArgumentException: method ID not in [0, 0xffff]: 65536
  6. 0

    Android Studio: Unexpected Top-Level Exception for Importing AChartEngine.jar

    Stack Overflow | 3 years ago | Eric
    java.lang.IllegalArgumentException: 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. java.lang.IllegalArgumentException

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

      at com.android.dx.merge.DexMerger$6.updateIndex()
    2. Android SDK's dx Tool
      Main.main
      1. com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:501)
      2. com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:276)
      3. com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:490)
      4. com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:167)
      5. com.android.dx.merge.DexMerger.merge(DexMerger.java:188)
      6. com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:439)
      7. com.android.dx.command.dexer.Main.runMonoDex(Main.java:287)
      8. com.android.dx.command.dexer.Main.run(Main.java:230)
      9. com.android.dx.command.dexer.Main.main(Main.java:199)
      10. com.android.dx.command.Main.main(Main.java:103)
      10 frames