Fragmented
029: All about the infamous 65,536 dex method count
If you've been an Android developer in the last 2 years, you must have seen this dreaded exception: dex: method ID not in [0, 0xffff]: 65536
Quick googling would immediately bring up the phrase "65K method count" and the recommended solution "multi-dexing". But if you want to really understand this mysterious number and the reason behind its existence, listen on!
Show Notes
- Official Dalvik specification [source.android.com] (look for invoke- prefix methods)
- Android and the Dex limit (great post)
- ADB Ep 11 : ART, pART 2 (Trash Talk) (discussion on ART)
- MultiDexing [developer.android.com] (solution to your 65K method count woes)
Contact
- @fragmentedcast [twitter.com]
- @donnfelker [twitter.com]
- @kaushikgopal [twitter.com]