Android application (APK) files contain executable bytecode files in the form of Dalvik Executable (DEX) files, which contain the compiled code used to run your app. The Dalvik Executable specification limits the total number of methods that can be referenced within a single DEX file to 65,536, including Android framework methods, library methods, and methods in your own code. Getting past this limit requires that you configure your app build process to generate more than one DEX file, known as .
A multidex configuration, in Android development is the way to bypass the Dalvik Executable (DEX) limit of 65536 (64K) methods within a single DEX file, So you can build bigger and better apps that new environments like Android 5.0 (Android L) brings.
So Android Developer has published an article "Building Apps with Over 65K Methods" that guides developers through.
Monday, November 03, 2014