从Visual Studio运行Xamarin Store演示应用程序时遇到一些问题。当我试图在虚拟Android设备上从Visual Studio 2013运行Xamarin演示应用程序时,我要么在“xamaring存储已经停止错误”的接收端,要么应用程序在XamarinStore.MainActivity的第24行中断:
SetContentView (Resource.Layout.Main);
控制台日志内容:
Loaded assembly: MonoDroidConstructors [External] An unhandled exception occured.
08-17 17:40:02.041 E/mono ( 2258): Unable to find seq points for method '(wrapper managed-to-native) System.Diagnostics.Debugger:Mono_UnhandledException_internal (System.Exception)'. 08-17 17:40:02.041 F/ ( 2258): * Assertion at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.12-series/163212a9/source/mono/mono/mini/debugger-agent.c:5241, conditionsp' not met 08-17 17:40:02.041 E/mono-rt ( 2258): Stacktrace: 08-17 17:40:02.041 E/mono-rt ( 2258): 08-17 17:40:02.041 E/mono-rt ( 2258): 08-17 17:40:02.041 E/mono-rt ( 2258): ================================================================= 08-17 17:40:02.041 E/mono-rt ( 2258): Got a SIGABRT while executing native code. This usually indicates 08-17 17:40:02.041 E/mono-rt ( 2258): a fatal error in the mono runtime or one of the native libraries 08-17 17:40:02.041 E/mono-rt ( 2258): used by your application. 08-17 17:40:02.041 E/mono-rt ( 2258): ================================================================= 08-17 17:40:02.041 E/mono-rt ( 2258): Step request failed: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown. The program 'Mono' has exited with code 0 (0x0).
xamarin的安装很干净。我正在运行4.4W SDK - API Level 20。
答案 0 :(得分:1)
这已通过恢复到早期版本的Android SDK来解决。