Xamarin Android app crashes on Release mode

2020-04-14 07:36发布

问题:

Xamarin is making me crazy!

Several months ago I updated Xamarin to 4.5.0.476 (Xamarin Android 7.3.1.2) and today, updating an App, I discovered that I cannot run my apk in release mode because it crashes when runs. And I can't understand why.

I tryed to set all type of permissions on the android manifest.
Linker setting is SDK Assembly only but I also tried None.
I cleaned and rebuilt several times.
There's not conditional code that can fail on sturtup.

Nothing, app always crashes when opening main activity. I don't know what to do anymore.

Someone has an idea?

Thanks a lot,
Danilo

回答1:

Solved! In Advanced Android Option armeabi-v7a architecture was unchecked, there was only armeabi. I switched option on and app starts without run into error.