Some test text!

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

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 https://developer.android.com/tools/building/multidex.html
Error:com.android.dex.DexIndexOverflowException: 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

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.