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

Xamarin.Forms Release issue

$
0
0

Hi,

am having an issue with building Xamarin.Forms app under release config. The problem is coming from linking the assemblies. If I go with "Linking" option set to "Sdk Assemblies Only" then the app starts, splash screen is shown but then it crashes. If I set Linking to None then it works like a charm. But the APK is 60 megs instead of 30 megs.

Tried to debug the code to get some error message but Visual Studio does not throw anything. The app just terminates. Also included the App Center Crashes library which I know usually works perfectly and again no crash report.

Also tried to set list all of the assemblies from Linking=None build to the "Skip Linking assemblies" field and build with "Sdk Assemblies Only" which results to all assemblies being included but number of them was significantly smaller then the ones in Linking=None build (I presume some types were removed) and the app crashes again.

Any idea how can I troubleshoot this? The 60 megs package works fine, but it's unreasonably large.

Visual Studio 2019 16.2.2, Xamarin 16.2.0.91, Xamarin.Forms 4.1.0.618606

thanks

Jiri


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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