Google Play console reporting crashes from unreleased applications

前端 未结 3 1599
时光说笑
时光说笑 2020-12-29 02:15

I would like to share a situation I am facing analysing the new features at Google Play console and try to find a solution for it.

As many of you may already know, G

相关标签:
3条回答
  • 2020-12-29 03:00

    As we are interested in publishing only release applications, we may adopt following strategy to get rid of messing up crash reports :

    ./build.gradle :

    android {
        ...
        defaultConfig {
            applicationId "my.app.package"
            ...
        }
        ...
        buildTypes {
            release {
                ...
            }
            debug {
                ...
                applicationIdSuffix ".dev"
            }
        }
    ...
    }
    
    0 讨论(0)
  • 2020-12-29 03:10

    I also faced the same issue.
    It shows Crash reports when I go to All applications -> -> Dashboard -> Crashes

    But if I go directly to Android Vitals -> ANRs & crashes it doesnt show anything.

    Anyway for the first case you can click on 'View details' and select 'Hide' from dropdown menu for each crash type reported.

    This is just a temporary fix , but I think Google has to provide proper fix for it.

    0 讨论(0)
  • 2020-12-29 03:11

    The Developer Console only reports crashes from published version numbers (either in alpha, beta or production).

    So my solution is very simple:

    1. After publishing a new version, the first thing I do is increase the versionCode in the manifest. And I only use this version number while developing. This way, no crash is sent to the console.
    2. Then, when I'm ready to publish again, I increase the versionCode once more. This way I make sure new crashes will only come from the published version.

    EDIT:

    Crashes from unpublished versions will still appear on the console under the 'All versions' option. So take this answer as a way to identify and filter those crashes, not to prevent them from being logged.

    0 讨论(0)
提交回复
热议问题