Check this page first for common issues based on Xamarin Setup.
For Android and/or iOS Platform issues see:
For faster assistance, please provide:
- Your OneSignal App Id
- Details, logs, and/or screenshots of the issue.
- Steps to reproduce
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 over 2 years ago