Google Play控制台-崩溃报告:java.lang.RuntimeException [英] Google Play Console - Crash Report: java.lang.RuntimeException

本文介绍了Google Play控制台-崩溃报告:java.lang.RuntimeException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!


我从Google Play商店中的一个应用程序的用户那里收到了一些崩溃报告.

I received some crash reports from users of one of my apps in the Google Play Store.


This is the stack that I find the play store:

  at (
  at (
  at (
  at (
  at (
  at$H.handleMessage (
  at android.os.Handler.dispatchMessage (
  at android.os.Looper.loop (
  at (
  at java.lang.reflect.Method.invoke (Native Method)
  at$ (
  at (

这是设备:Xiaomi POCO F1 (beryllium), Android 9,启动时应用崩溃.

And this is the device: Xiaomi POCO F1 (beryllium), Android 9, the app crash on start up.


Unfortunately there isn't any reference to my package on the stack.


This is my gradle settings:

compileSdkVersion 28
    buildToolsVersion '28.0.3'
    defaultConfig {
        applicationId "xxxxxxxxx"
        minSdkVersion 15
        targetSdkVersion 28
        multiDexEnabled true

在我测试过的其他装有android 9的设备中,没有问题.可能与设备中存在的播放服务有关的问题吗? 有想法吗?

In the other devices with android 9 where I tested there are no problems. Could it be a problem related to the play service present in the device? Some idea?




The great thing about Android is it is open source. So you can investigate these issues for yourself.

在这种情况下,让我们看一下ActivityThread的源代码.用Google搜索源" .对我来说,最好的结果是 上的源代码.

In this case, let's look at the source for ActivityThread. Do a Google search for "source". For me the top result is the source code on


Now look at the performLaunchActivity() method. It's a shame there is no message in the stack trace, but it looks like this method throws a RuntimeException when there is a problem loading the launch activity for your app. So it looks like some sort of message is coming in, your launch activity is trying to start, but throwing an exception on loading your app. Unfortunately, I can't give you much more detail than that.

您可能想尝试与 Firebase Crashlytics 之类的解决方案集成,从而为您提供更多比Play控制台更详细的调查崩溃的工具.

You might want to try integrating with a solution like Firebase Crashlytics which gives you more detailed tools for investigating crashes than the Play Console offers.

这篇关于Google Play控制台-崩溃报告:java.lang.RuntimeException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

登录 关闭
发送“验证码”获取 | 15天全站免登陆