Xamarin.Android apk crashes after building on visualstudioonline

雨燕双飞 提交于 2019-12-23 01:34:23

问题


We got a Xamarin.Android project and are using visualstudioonline for building our app. When I build locally with my IDE (Visual Studio 2015) the app works as expected in Debug and also in Release mode. I tried to deploy the app directly from Visual Studio (Run) and also to grab the .apk file after a build from the bin directory. Everything works.

Now when I build the app with the build server on visualstudioonline the app instantly crashes when I launch the app on a device. Ive got another app on visualstudioonline with the same settings in my build task and there is no such problem (latest MSBuild version and JDK 8)

I only have the log from logcat because I also get no events, exceptions or crash reports on AppCenter.

The app in the log is called "preon.AndroidApplication"

Logcat log - whole logcat output

Logcat log - where I think the error is located

来源:https://stackoverflow.com/questions/49617048/xamarin-android-apk-crashes-after-building-on-visualstudioonline

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