Some test text!

How do I resolve the multidex build error for apps with over 64K methods?

Multidex error for apps with over 64K methods

When your app and the libraries it references exceed 65,536 methods, you might encounter a build error that indicates your app has reached the limit of the Android build architecture:

Error:The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at method ID not in [0, 0xffff]: 65536

The number 65,536 represents the maximum number of methods that can be referenced in a single Dalvik Executable (DEX) bytecode file. To resolve this issue, you need to enable multidex for your app which allows your app to build and read multiple DEX files. For more information on how to enable multidex, see: Building apps with over 64K methods

Get the answers you need: Support

Upcoming Webinar: PDFTron SDK Tech Review | Nov 29, 2022 at 2 pm ET


The Platform


© 2022 PDFTron Systems Inc. All rights reserved.


Terms of Use