致命信号11 (SIGSEGV),代码1,故障地址0x18, tid 5091

本文关键字:故障 地址 0x18 5091 tid 代码 信号 SIGSEGV | 更新日期: 2023-09-27 18:04:45

我想在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)

应用程序在启动屏幕上崩溃,主活动和启动屏幕中的断点不起作用。在其他设备上,应用程序运行得很好;我用Xamarin。Xamarin Studio中的表单;

致命信号11 (SIGSEGV),代码1,故障地址0x18, tid 5091

您正在构建APK以支持x86和x86_64架构吗?Asus_Z008D使用英特尔Atom CPU,而不是ARM。看到的:http://specdevice.com/showspec.php?id=6a09-4fd1-ffff-ffff924a117c

因此,如果您只构建ARM架构,或使用任何仅为ARM构建的库,该应用程序将无法在x86/x86_64设备上运行。