Cordova - Build issues with big Cordova apps (DexArchiveBuilderException error)


In case that your app and the libraries it references exceed 64K methods, certain build errors (DexArchiveBuilderException) might occur. These errors indicate that the app has reached the limit of the Android build architecture.

In order to surpass this limitation, the app configuration known as multiDex needs to be enabled. This allows your app to build and read multiple DEX files. 

MultiDex configuration can be enabled by setting multiDexEnabled to true in your app/build.gradle, or by using the following plugin:

Please note: The errors mentioned in this article are not related to the Scandit SDK Cordova plugin.


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request