Xamarin Forms: how to troubleshoot Android crashes when all you see is Java and Android native code in the Stack Trace (Teaser, Part 1)

Xamarin Forms excellent Documentation: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/
  1. Cross platform (iOS, Android, UWP, WPF, Mac OS, Xbox, and more!)
Sample Xamarin Forms project structure with iOS, Android, and Core projects
Native APIs supported when using Xamarin/Mono as of the publishing of this article
Crash image used for illustration purposes only
  1. There’s no trace of our actual code in there — this crash did not originate in any of our Viewmodels, Views, or Services.
  2. There’s no trace of MvvmCross causing the crash.
  3. There’s no trace of Xamarin Forms or Mono causing the crash.
  4. Who is “Zygote”?
  1. Configuring your app to catch all exceptions in Android
See https://github.com/mono/mono/tree/master/mcs/tools/mono-symbolicate

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

READINGMEDIA PA

CS371p Fall 2021: Sage Sanford

MLOPS TASK 2 Under the guidance of VIMAL DAGA SIR,

Hooked — the declarative webhook builder for Salesforce

How to root Hitech Amaze S2

Root LG Phone

How to improve your GitHub workflow

Getting Started With Ansible

Expert Systems — The Why, What, and How

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Emmanuel Huna

Emmanuel Huna

More from Medium

Jetpack Compose UI Test

Code

Better Time Management in SpriteKit

Better Time Management in SpriteKit

Android Accessibility: Color contrast

Google ReCaptcha v2 in native Xamarin.Forms apps