我的Xamarin Forms应用由于未知原因而崩溃 [英] My Xamarin Forms app is getting crash for unknown reason

查看:347
本文介绍了我的Xamarin Forms应用由于未知原因而崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio的输出"窗口中显示以下消息:

The following message is shown in the Output window of Visual Studio:

在执行本机代码时获得了SIGSEGV.这通常表示在Mono运行时或应用程序使用的本机库之一中出现致命错误.

Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.

导航到包含ListView的视图时,应用程序崩溃.这仅是第一次发生,然后再没有任何问题.

The app crashes when navigating to the view that contains a ListView. This happens only for the first time and then after that, there are no issues.

  • 有没有办法找出事故背后的原因?

我的Xamarin Forms版本是2.5.0.280555

My Xamarin Forms version is 2.5.0.280555

推荐答案

我已经通过再次创建新的解决方案来解决了这个问题.在第二次尝试中,我没有安装"RestClient" NuGet软件包.我认为是导致问题的软件包.我已经看到许多开发人员在解决偶发性崩溃方面寻求帮助.我的建议是仔细检查所有NuGet软件包.

I have solved this issue by creating a new solution once again. In the second attempt I didn't install 'RestClient' NuGet package. I think that was the package which caused the issue. I've seen many developers asking for help in solving sporadic crashes. My suggestion is to double check all the NuGet packages.

这篇关于我的Xamarin Forms应用由于未知原因而崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆