Native Crash with Syncfusion and Xamarin.Forms

By Marco Troncone · · Updated · 1 min read
Share
First published on xamarinexpert.it in 2019. It was written for Xamarin, which reached end of support in May 2024: the ideas still apply to .NET MAUI, but some APIs and tools have changed.

If you are using the Syncfusion library together with Xamarin.Forms > 3.4 you should definitely continue to read.

Since the new release of Xamarin.Form 3.5, if you try to use the Syncfusion Listview (SfListView) in Release mode on Android, your app will crash.

In this moment there are two things that you can do:

  • Use a version of Xamarin.Forms < 3.5
  • Set the Linking to None (in this case your final APK will be bigger than usual).

Unless you are using some of the new features of Xamarin.Forms > 3.4, I'd suggest you to continue to use Xamarin.Forms 3.4 otherwise in you Android project, set the Linking to None and it will solve your problem.

I will update this post, as soon as Synfusion and Xamarin will solve this massive issue.

Meanwhile you can follow the progress of this bug here: https://github.com/xamarin/Xamarin.Forms/issues/5288

Share

Need help with your app?

I build and rescue .NET MAUI, Xamarin, Android and iOS apps, and I'm available for contract and consulting work.

Hire me

← All articles