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

查看:36
本文介绍了我的 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天全站免登陆