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

时间:2016-08-29 13:49:41

标签: 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上崩溃,主要活动中的断点和LaunchScreen无效。在其他设备上应用程序运行良好;我在Xamarin Studio中使用Xamarin.Forms;拜托,帮助我;

1 个答案:

答案 0 :(得分:0)

您是否正在构建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设备上运行。