When I create an Apk in android studio like Build ->Build APK, I encountered the following error.
Error:Error converting bytecode to dex:<br>
Cause: com.android.dex.DexIndexOverflowException: Cannot merge new index 68909 into a non-jumbo instruction!
When I add the below code in android manifest
android {
dexOptions {
jumboMode = true
}
}
Then error is fixed but apk is big file size