我在運行Visual Studio中的Xamarin商店演示應用程序時遇到了一些麻煩。當我試圖在虛擬Android設備上從Visual Studio 2013運行Xamarin演示應用程序時,我要麼在「xamaring存儲已停止錯誤」的接收端,要麼應用程序在XamarinStore.MainActivity的第24部分中斷:XamarinStore已停止
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).
XAMA的安裝林是一個乾淨的。我正在運行4.4W SDK - API級別20.
您試圖運行Xamarin商店或InAppBilling演示?要使用具有inapp-purchase功能的測試應用程序,您不能在虛擬設備上運行此功能。 – user2236165 2014-08-28 17:59:02
這是Xamarin商店演示應用程序 – Levon 2014-08-28 18:00:37
也許你已經閱讀了一些這方面的內容,但是如果你沒有看到它,只是發佈這個鏈接。希望能幫助到你。 http://forums.xamarin.com/discussion/16097/xamarin-store-app-sample-does-not-run – user2236165 2014-08-28 18:04:51