Xamarin Android app crashes on Release mode

試著忘記壹切 提交于 2019-12-11 04:25:43

问题


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.



来源:https://stackoverflow.com/questions/47125083/xamarin-android-app-crashes-on-release-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!