microsoft / appcenter-sdk-android

Development repository for the App Center SDK for Android
Other
277 stars 134 forks source link

Android app crash in internal testing not showing in AppCenter #1563

Closed ljunquera closed 2 years ago

ljunquera commented 2 years ago

My app is crashing when I release it for internal testing in the Google Play store. I thought it would be a good time see how the crashes appear in AppCenter, but I don't see them there. I am looking in Issues under Diagnostics in appcenter.ms. I have the appsecret correct, as I double checked and did see one other error that was in there from a few days ago.

In my MainActivity class in the onCreate I have:

        AppCenter.start(getApplication(), BuildConfig.APP_CENTER_SECRET,
                Analytics.class, Crashes.class);

The error is happening in the SplashFragment which is the Start Destination. I download the app on my internal tester phone and see the right version number. I crashes when I open it and I see the App Info, Close App, Send Feedback options after my 2nd or 3rd attempt. When I click Send Feedback I get an option to preview and see the event log. I see where the error is happening and will work to resolve it, but I wanted to see the error in AppCenter.

AnastasiaKubova commented 2 years ago

Hi! Thanks for getting in touch with us! Could you please share the verbose logs?

ljunquera commented 2 years ago

I can't seem to get it as it's not getting to AppCenter and the log I see is in the app to send back to Google Play, but I don't see that it's exposed to me there either.

AnastasiaKubova commented 2 years ago

COuld you please share the crash report?

ljunquera commented 2 years ago

I cannot provide the crash report because it is only happening in Internal Testing and not getting to AppCenter. Here is the log from the dev:

2021-10-24 22:56:49.402 16606-16646/com.xxx.yyy V/AppCenter: {
      "logs": [
        {
          "type": "startService",
          "timestamp": "2021-10-25T02:56:46.347Z",
          "device": {
            "sdkName": "appcenter.android",
            "sdkVersion": "4.1.0",
            "model": "Android SDK built for x86",
            "oemName": "Google",
            "osName": "Android",
            "osVersion": "10",
            "osBuild": "QSR1.190920.001",
            "osApiLevel": 29,
            "locale": "en_US",
            "timeZoneOffset": -240,
            "screenSize": "1080x2028",
            "appVersion": "1.0.28",
            "carrierName": "Android",
            "carrierCountry": "us",
            "appBuild": "28",
            "appNamespace": "com.xxx.yyy"
          },
          "services": [
            "Analytics",
            "Crashes"
          ]
        }
      ]
    }
AnastasiaKubova commented 2 years ago

Hello! Unfortunately without additional info (logs and crash report) figure out the cause of the problem will be hard. Please share the verbose logs with reproducing your issue. Also please make sure that the crash happens after the full start of App Center.

AnastasiaKubova commented 2 years ago

We haven’t heard from you in a while so I’m closing this issue but feel free to reopen this issue if you have additional questions.