My app has been working fine using Shared Runtime. I now need to distribute it to beta testers, so I unchecked "Use Shared Runtime" in Properties->Android Options. With it unchecked, I am able to build the APK, but when I deploy it to my phone and try to run it, it crashes immediately with a NullReferenceException. The call stack has only one line in it, which is:
0x13 in Android.App.Activity.n_OnPostCreate_Landroid_os_Bundle_ at /Users/builder/data/lanes/3540/1cf254db/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.App.Activity.cs:3445,4 C#
If I go back into Properties and check "Use Shared Runtime" and rebuild, it runs fine.
What could the problem be?