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

apk from Xamarin.Forms keeps crashing

$
0
0

Hi All,

Unfortunately when I load my apk onto a physical device, it crashes immediately. I have been playing around trying to figure out what is happening, and here are my observations:

1) If I set linking to 'none', it works. So clearly the problem has to do with the linking. However, this is clearly not a viable solution.

2) In debug mode, if I enable proguard and turn linking on, the app still works fine.

3) If I make a new blank Xamarin.Forms app, then follow the instructions to release the apk for Android, the same problem occurs (the app immediately crashes).

4) If I make a blank Xamarin.Android app, then follow the instructions, the apk works fine.

It is very difficult to troubleshoot without knowing why the App is crashing. Do you have any suggestions as to what is occurring, or how I can get a log file on my physical device to understand why the Xamarin.Forms version of the Android apk fails, when the Xamarin.Android version works fine?

Thanks,

Dustin


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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