【发布时间】:2017-02-23 21:11:55
【问题描述】:
我有一个 Xamarin 表单应用程序,并且正在 Mac 上使用 Xamarin Studio。
在 iOS 模拟器上运行时,我可以成功调试我的应用程序,但是,我的应用程序立即崩溃,并且我没有机会了解在使用 android 时发生了什么 模拟器。
应用程序输出的摘录如下。有几个像这样的错误:
上午开始 -n “com.aangaba.scl/md57e35e077cd3bd07458f75ce95d82a8df.MainActivity” 开始:意图{ cmp=com.aangaba.scl/md57e35e077cd3bd07458f75ce95d82a8df.MainActivity }
[art] 未启用 -Xcheck:jni(已启用)[art] 意外 CPU 使用默认值的 X86 变体:x86_64 [monodroid] 使用覆盖 路径:/data/user/0/com.aangaba.scl/files/.覆盖 [monodroid] 使用覆盖路径: /storage/emulated/0/Android/data/com.aangaba.scl/files/.覆盖 [monodroid] 尝试从以下位置加载 sgen: /data/user/0/com.aangaba.scl/files/.覆盖/libmonosgen-2.0.so [monodroid] 尝试从以下位置加载 sgen: /storage/emulated/0/Android/data/com.aangaba.scl/files/.覆盖/libmonosgen-2.0.so [monodroid] 尝试从以下位置加载 sgen: /data/app/com.aangaba.scl-1/lib/x86_64/libmonosgen-2.0.so [monodroid] 尝试从以下位置加载 sgen: /data/user/0/com.aangaba.scl/files/.覆盖/links/libmonosgen-2.0.so [monodroid-debug] 尝试使用选项初始化调试器: --debugger-agent=transport=dt_socket,loglevel=0,address=10.0.2.2:56150,embedding=1 [单声道] Assembly Loader 探测位置: '/storage/emulated/0/Android/data/com.aangaba.scl/files/.覆盖/mscorlib.dll'。 [单声道] 图片地址 mscorlib[0x7ffee7e37a80] -> /storage/emulated/0/Android/data/com.aangaba.scl/files/.覆盖/mscorlib.dll[0x7ffee9c64000]: 2 [单声道] AOT 模块 '/storage/emulated/0/Android/data/com.aangaba.scl/files/.覆盖/mscorlib.dll.so' 未找到:dlopen 失败:库 “/data/app/com.aangaba.scl-1/lib/x86_64/libaot-mscorlib.dll.so”不是 成立 [单声道] 组装 System.Runtime[0x7ffee7e57380] 添加到域 RootDomain, ref_count=1 [Mono] AOT 模块 '/storage/emulated/0/Android/data/com.aangaba.scl/files/.override/System.Runtime.dll.so' 未找到:dlopen 失败:库 “/data/app/com.aangaba.scl-1/lib/x86_64/libaot-System.Runtime.dll.so” 未找到 [Mono] AOT 模块 '/Users/builder/data/lanes/3819/96c7ba6c/source/monodroid/builds/install/mono-x86_64/lib/mono/aot-cache/amd64/System.Runtime.dll.so' 未找到:dlopen 失败:库 “/data/app/com.aangaba.scl-1/lib/x86_64/libaot-System.Runtime.dll.so” 没找到
我的应用程序文件似乎没有安装在模拟器上,我不知道为什么。
【问题讨论】:
标签: c# xamarin mono android-emulator xamarin.forms