移动中心崩溃报告无效

g.p*_*dou 5 android xamarin xamarin.forms mobile-center visual-studio-app-center

上下文

我正在尝试在Android模拟器上测试我的Xamarin Forms应用崩溃报告.所有Google Analytics功能都在运行,但我无法在服务器中看到单个崩溃报告.我正在使用,Crashes.GenerateTestCrash();但我也产生了真正的崩溃.

从诊断开始,设备似乎甚至不会将崩溃信息发送到服务器.

我错过了什么?或者我还应该尝试什么?

诊断和我到目前为止所尝试的内容

  • 首先,我仔细阅读了故障排除页面https://docs.microsoft.com/en-us/mobile-center/sdk/troubleshooting/xamarin 段落'崩溃未显示在门户网站中'

  • 我知道我必须再次启动应用程序,以发送崩溃信息

  • 我打开了详细的日志记录:MobileCenter.LogLevel = LogLevel.Verbose;似乎一切都已初始化好了,包括'设置Xamarin崩溃处理程序'
  • 检查了控制台详细输出,有正确的JSON分析数据传输,但是没有任何跟踪相关的跟踪
  • 手动调试并检查线路Crashes.GenerateTestCrash();是否正在执行.
  • 在OnStart中我还检查了以前的崩溃:

    // Returns false: bool didAppCrash = Crashes.HasCrashedInLastSessionAsync().Result; ErrorReport crashReport = Crashes.GetLastSessionCrashReportAsync().Result;

控制台日志部分

09-19 10:10:14.036 I/MobileCenterCrashes( 3173): Set up Xamarin crash handler.
09-19 10:10:14.064 F/MobileCenter( 3173): Mobile Center SDK configured successfully.
...
09-19 10:10:14.081 D/MobileCenter( 3173): checkPendingLogs(group_core) pendingLogCount=0
09-19 10:10:14.081 D/MobileCenter( 3173): Mobile Center storage initialized.
09-19 10:10:14.081 D/MobileCenter( 3173): checkPendingLogs(group_analytics) pendingLogCount=0
09-19 10:10:14.082 D/MobileCenterAnalytics( 3173): Loaded stored sessions: {...}
09-19 10:10:14.083 I/MobileCenter( 3173): Crashes service started.
09-19 10:10:23.815 V/MobileCenter( 3173): Calling https://in.mobile.azure.com/logs?api_version=1.0.0-preview20160914...
09-19 10:10:23.815 V/MobileCenter( 3173): Headers: {Install-ID=..., App-Secret=...}
09-19 10:10:23.817 V/MobileCenter( 3173): {
09-19 10:10:23.817 V/MobileCenter( 3173):   "logs": [
09-19 10:10:23.817 V/MobileCenter( 3173):     {
09-19 10:10:23.817 V/MobileCenter( 3173):       "type": "start_session",
09-19 10:10:23.817 V/MobileCenter( 3173):       "timestamp": "2017-09-
... and so on...
Run Code Online (Sandbox Code Playgroud)