[英]Google Play Console crash report not related to my app
Google Play Console reported crashes for an app of mine that obviously do not relate to my app. Google Play控制台报告说我的一个应用程序崩溃显然与我的应用程序无关。 This information is provided: 提供此信息:
android.app.RemoteServiceException: android.app.RemoteServiceException:
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1768) 在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1768)
at android.os.Handler.dispatchMessage (Handler.java:106) 在android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop (Looper.java:164) 在android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6494) 在android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke (Native Method) 在java.lang.reflect.Method.invoke(本机方法)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438) 在com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807) 在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
As you can see my app is not even mentioned. 如您所见,我的应用程序甚至都没有提及。 So I wonder whether that crash report actually relates to my app. 因此,我想知道该崩溃报告是否确实与我的应用有关。 Resp. RESP。 I'd like to know how to identify the issue in my coding causing that crash. 我想知道如何识别导致崩溃的代码。 Maybe the stack trace is truncated. 也许堆栈跟踪被截断了。 But I cannot access any subsequent items. 但是我无法访问任何后续项目。
Any ideas appreciated. 任何想法表示赞赏。
This is not the same as the question mentioned. 这与提到的问题不同。 There it is about fixing a concrete issue. 那里是解决一个具体问题。 Here it is about a vague issue indicated by Google Play Console, not being specific whether or how that issue relates to my app at all. 这里是有关Google Play控制台显示的一个模糊问题,而不是具体说明该问题是否与我的应用相关。
It will always relate to your app - Google Play knows for the crash which process it belongs to, and each app has it's own process. 它将始终与您的应用相关-Google Play会在崩溃时知道它属于哪个进程,并且每个应用都有自己的进程。 If you don't see your app mentioned, it will be because your code inherits from some other code in the Android Platform. 如果您没有看到提及您的应用程序,那是因为您的代码继承自Android平台中的其他一些代码。 In the example you give above, the crash will be happening in an ActivityThread for an activity in your app. 在上面给出的示例中,崩溃将发生在应用程序中活动的ActivityThread中。
Android is open source. Android是开源的。 So you can look at the source code and see what might be happening. 因此,您可以查看源代码,看看可能会发生什么。
Searching in Google for "ActivityThread source code" finds the source . 在Google中搜索“ ActivityThread源代码”即可找到源 。
Looking at line 1768 you see the RemoteServiceException is thrown because a SCHEDULE_CRASH message was received . 查看1768行,您会看到由于收到SCHEDULE_CRASH消息而引发了RemoteServiceException。
Searching the android source code will help you see what might have caused this. 搜索android源代码将帮助您查看可能导致此问题的原因。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.