Android:如何获取有关在 Google Play 开发者控制台中捕获的异常的信息?

标签 android google-play in-app-purchase in-app-billing

当部署在 Google Play 商店中的应用程序崩溃时,您会看到这些崩溃报告。假设我有异常被 Log.e 捕获和记录,有没有办法以任何方式查看这些异常?换句话说:当我想查看对我的工作流程真正重要的错误时,在 Google Play Developer Console 中查看这些异常的唯一方法是在应用程序中抛出 RuntimeException 以故意使应用程序崩溃? (那真的很愚蠢)。

背景:我目前正在实现应用内结算。购买过程中确实有很多阶段可能会发生异常。如果客户联系我并询问为什么购买过程不起作用,如果我在 Google Play Developer Console 中没有看到任何信息,我应该如何知道?

最佳答案

您可以使用 Firebase Crashlytics

Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.

关键能力

  • 精选的崩溃报告

    Crashlytics synthesizes an avalanche of crashes into a manageable list of issues, provides contextual information, and highlights the severity and prevalence of crashes so you can pinpoint the root cause faster.

  • 增强的环境信息

    Crashlytics allows you to filter reports by operating system, version, hardware configuration, and more. Find out if your app is crashing more frequently on a particular manufacturer's devices, with certain API versions, or even in a specific screen orientation.

  • 实时提醒

    Get realtime alerts for new issues, regressed issues, and growing issues that might require immediate attention.

Get started with Firebase Crashlytics

关于Android:如何获取有关在 Google Play 开发者控制台中捕获的异常的信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48006744/

相关文章:

Android 应用程序未显示在平板电脑 Play 商店中

android - 安全购买溢价 IAP

ios - 测试时 GDX Pay IOS 错误

ios - 如何检测和验证自动续订订阅的续订?

java - 如何使用位图将图像分享到社交媒体?

android - 使用相同的 key 签署两个应用程序

java - Eclipse 无法加载 AppCompat ActionBar,出现未知错误。以下类无法实例化

java - 有没有办法检查应用程序的安装位置

android - 创建 phonegap android 子项目时出错

android - 检测应用程序何时关闭