Google Play控制台报告从未发布的应用程序崩溃 [英] Google Play console reporting crashes from unreleased applications

查看:144
本文介绍了Google Play控制台报告从未发布的应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想与大家分享我在分析Google Play控制台新功能时遇到的情况,并尝试为其找到解决方案。



已经知道,Google已经在Google Play控制台发布了更新,并推出了Android的重要功能。其中一个很好的特点是现在的会议ANRs&崩溃显示所有ANR& (在手机第一次设置期间),用户选择自动共享使用情况和诊断数据的Android设备收集到的崩溃。

然而,我看到未发布应用程序的崩溃报告。我的意思是,从尚未发布的开发者版本开始。此外,这个崩溃报告来自一个使用android-debug密钥签署的应用程序,而不是我的生产密钥。我查看了可用的文档,但是我无法找到关于这些报告过滤的详细信息。



使用任何收入数据而不验证签名因为任何人都可以简单地编写一段代码,然后用大量的虚拟堆栈跟踪来填充特定的应用程序包名称。

你知道这是否正常吗?新工具?

解决方案

由于我们有兴趣只发布发布应用程序,我们可能会采取以下策略来摆脱混乱的崩溃报告:
$ b

./ build.gradle:

  android {
...
defaultConfig {
applicationIdmy.app.package
...
}
...
buildTypes {
release {
...
}
debug {
...
applicationIdSuffix.dev
}
}
...
}


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, Google has released updates at Google Play console and introduced Android vitals. One of the good particularities is that now the session ANRs & Crashes shows all ANRs & crashes collected from Android devices whose users have opted in to automatically share usage and diagnostics data (during phone first setup).

However, I am seeing crash reports from unreleased applications. I mean, from a developer version that hasn't been published yet. Moreover, this crash report came from an application signed with an android-debug key, not my production key. I have looked into the available documentation but I couldn't found details on the filtering for these reports.

It seems harmful and wrong to me using any income data without validating signing as anyone can simply write a short peace of code and start flooding a specific application package name with tons of dummy stacktraces.

Do you know if this is the normal behavior for this new tool ?

解决方案

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"
        }
    }
...
}

这篇关于Google Play控制台报告从未发布的应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆