Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

App not working in release mode

$
0
0

Hi all, I need some help figuring out what the problem is.

I have a brand new installation of VS2017 fully updated

When I run my app in debug mode it works, when I run the app in release mode it would just hung at the splash screen, I tried to check the device log but I can only see IlligalStateException

I changed the Java Heap to 1G, but it did not solve the problem
I am upgraded to Xamarin.Forms 3.0 and I am compiling using Android 8.1, that did not solve the problem (also tried to lower the version)

I set the Linking to None, that only increased the app size and did not solve the problem

When I uncheck the "Bundle assemblies into native code" it then works but I have always been compiling my apps with this.
I checked the version of the NDK it is currently set to "C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r15c" Not sure if the version is incorrect that I am using since this is also a new laptop (my other laptop was stolen where everything compiled and worked perfectly)

It also seem that the Device Log is lagging and doesn't want to filter. Device Monitor seems to be crashing aswell.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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