This error occurs due to the number of Java libraries included in your project.
1. Make sure you don't have any extra libraries you don't need under
2.1. If this doesn't fix the build issue it recommended to Enable Proguard.
2.2. Right click on your Android solution and select
"Enable ProGuard" and press OK.
2.5. Build you Android app again.
3.1. If ProGuard doesn't resolve the dex limit error then you will need to enable
3.2. This is just under the ProGuard setting.
Updated 2 years ago