Play Store crash on start on some devices of same type libmonosgen-2.0.so

Only Release builds crash on start. We can't reproduce this and it does not happen on all devices of the same exact model. Uninstalling and reinstalling doesn't fix the issue. This is a serious problem for us with hundreds of crashes and I've seen numerous posts about this with no resolution. I'm even starting to wonder if Xamarin is ready for prime time.

This is an example of all we get for a stacktrace in Play Store:

pid: 0, tid: 0 >>> com.myapp.smv <<<
backtrace:
#00 pc 00000000000ce458 /data/app/com.myapp.smv-Asl05NVaS87Yw0u-GchHjA==/lib/arm64/libmonosgen-2.0.so
#01 pc 000000000010985c /data/app/com.myapp.smv-Asl05NVaS87Yw0u-GchHjA==/lib/arm64/libmonosgen-2.0.so

Sometimes we get an ANR just saying that MainActivity.OnCreate crashed also referencing libmonosgen-2.0.so with the following message:

  • Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)

Devices range from Samsung Galaxy and Note models, Pixel models, Hwauwei models. Numerous attempts at various builds with the following permutations:

  • Remove obj, bin, and packages folders prior to building.
  • Changed linking from SDK, to None, to All.
  • Retargeting all packages to match targetSDK of 8.1.
  • Changing targetSDK to 9.0 and back to 7.1 (updated to 8.1 due to play store policy).
  • Turn on ALL 177 permissions.
  • Remove Write To External storage permissions.
  • Updating Android SDKs.
  • Updating Visual Studio to Beta release.
  • Build from Mac and Windows.
  • Updating all nuget packages, except for Prism and Unity.

Any help or suggestions would be appreciated.

Sign In or Register to comment.