Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Release mode of android crashes without Shared runtime selected

$
0
0

Hi all, I am having a very confusing issue with the Android app build in Xamarin.Forms.

When I deploy app in debug mode on my device, everything is fine.
But when I switch to release, app crashes on start. I had figured that only if I select "Use Shared Runtime" option, app works in release mode.

The issue is only happening when I have Enable ProGuard selected. The ProGuard was preventing build with warning about "org.checkerframework.checker.nullness.*", so I had added to proguard.cfg following lines:

-dontwarn org.checkerframework.checker.nullness.**
-keep class org.checkerframework.checker.nullness.* {*;}

Does anyone has any idea what could be causing this?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>