【问题标题】:Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 5091致命信号 11 (SIGSEGV),代码 1,tid 5091 中的故障地址 0x18
【发布时间】:2017-01-05 14:02:48
【问题描述】:

我想在 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;请帮帮我;

【问题讨论】:

  • 我之前遇到过这个奇怪的错误,我清理解决方案解决了它。
  • 我试图清理解决方案。它没有帮助;

标签: c# android xamarin crash


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2017-11-05
    • 2018-03-29
    • 2016-05-17
    • 1970-01-01
    • 1970-01-01
    • 2023-03-30
    • 2021-11-01
    • 2019-03-05
    • 2016-09-25
    相关资源
    最近更新 更多