c# - TID 5091中的致命信号11(SIGSEGV),代码1,故障加法器0x18

标签 c# android xamarin crash

我想在Asus_Z008D上构建我的应用程序,但是我有这个问题:

[Mono] Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
[mono-rt] Stacktrace:
[mono-rt] 
[mono-rt] 
[mono-rt] Attempting native Android stacktrace:
[mono-rt] 
[mono-rt]  at ???+0 [0xe20ab667]
[mono-rt]  at mono_class_get_field_from_name+31 [0xe20ab73f]
[mono-rt]  at ???+31 [0xf2f7e9a2]
[mono-rt]  at ???+31 [0xf2f7ebe3]
[mono-rt]  at Java_mono_android_Runtime_init+2127 [0xf2f812b0]
[mono-rt]  at ???+2127 [0xe29dcde2]
[mono-rt] 
[mono-rt] =================================================================
[mono-rt] Got a SIGSEGV while executing native code. This usually indicates
[mono-rt] a fatal error in the mono runtime or one of the native libraries 
[mono-rt] used by your application.
[mono-rt] =================================================================
[mono-rt] 
[libc] Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 5091 (ru.roadaccident)

应用程序在LaunchScreen上崩溃,主要 Activity 中的断点和LaunchScreen不起作用。在其他设备上,app运行良好;我在Xamarin Studio中使用Xamarin.Forms;请帮我;

最佳答案

您是否正在构建APK以支持x86和x86_64体系结构? Asus_Z008D使用Intel Atom CPU,而不是ARM。看到:
http://specdevice.com/showspec.php?id=6a09-4fd1-ffff-ffff924a117c

因此,如果您仅针对ARM体系结构构建,或使用仅针对ARM构建的任何库,则该应用程序将无法在x86 / x86_64设备上运行。

关于c# - TID 5091中的致命信号11(SIGSEGV),代码1,故障加法器0x18,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39207953/

相关文章:

xaml - Xamarin 命令不适用于 Observablecollection 的对象

C# Web API - 在内存缓存中存储和持久化数据

c# - 你能传递一个类型并强制在 C# 中传递什么类型吗?

c# - 我如何在 C# 中访问硬盘驱动器中的所有分区

java - 十六进制到整数(4 字节)

android - 无法在 Android Studio 中生成已签名的 APK,因为缺少 proguard-rules.txt

c# - 显示计时器结果

android - SurfaceView 实现 Runnable - 线程不启动

ios - 如何在 IOS 中删除选择器边框

android - Xamarin 改变全屏颜色