问题
The following message is shown in the Output window of Visual Studio:
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.
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.
- Is there a way to find out the reason behind the crash?
My Xamarin Forms version is 2.5.0.280555
回答1:
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.
来源:https://stackoverflow.com/questions/49399058/my-xamarin-forms-app-is-getting-crash-for-unknown-reason