FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 15/100
调研方向
未提供特定的源文件或复现步骤;请从 messaging/app/src/main/java/com/google/firebase/quickstart/fcm/kotlin 中的 Kotlin 消息示例开始,并将其依赖项与报告中的 Firebase 和 Google 服务版本进行比较。查看 Firebase Test Lab 和 Play Console 的堆栈跟踪,然后建立一个可复现的案例,并记录消息示例是否可以避免报告的崩溃。
由索引模型根据 Issue 内容生成。
描述
Step 1: Describe your environment
- Android device: Nokia 1
- Android OS version: 8.1 (API 27)
- Google Play Services version: 203915062
- Firebase/Play Services SDK version: firebase-bom:26.0.0/google-services:4.3.4
buildscript {
ext.kotlin_version = "1.4.10"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
}
}
*****************
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
}
dependencies {
***
implementation "com.google.gms:google-services:4.3.4"
implementation 'com.google.android.play:core:1.8.3'
implementation platform('com.google.firebase:firebase-bom:26.0.0')
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation "com.google.firebase:firebase-functions-ktx"
implementation "com.google.firebase:firebase-messaging-ktx"
Step 2: Describe the problem:
Steps to reproduce:
- This problem shown on pre-release report of Google Play Console for two devices Nokia 1 and Huawei P8
- In local emulator or physical devices not showing this exception, but also shown in Firebase Test Lab devices.
- I tested messaging in local devices with FCM token and works fine
- I used the same code in this repo : https://github.com/firebase/quickstart-android/tree/master/messaging/app/src/main/java/com/google/firebase/quickstart/fcm/kotlin
Observed Results:
- Firbase Test Lab Logcat
11-06 02:29:25.410: E/AndroidRuntime(17339): FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
11-06 02:29:25.410: E/AndroidRuntime(17339): Process: com.google.android.youtube, PID: 17339
11-06 02:29:25.410: E/AndroidRuntime(17339): java.lang.NoClassDefFoundError: aewt
11-06 02:29:25.410: E/AndroidRuntime(17339): at aewu.b(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.a(PG:230)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.get(PG:247)
11-06 02:29:25.410: E/AndroidRuntime(17339): at aevw.b(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dud.al(PG:5)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dud.aw(PG:4)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dud.bg(PG:8)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.a(PG:232)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.get(PG:247)
11-06 02:29:25.410: E/AndroidRuntime(17339): at afke.a(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at aeri.b(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dud.fv(PG:4)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.c(PG:269)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.get(PG:247)
11-06 02:29:25.410: E/AndroidRuntime(17339): at amfk.a(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at eiu.K(PG:5)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dud.fV(PG:7)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.d(PG:334)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.get(PG:247)
11-06 02:29:25.410: E/AndroidRuntime(17339): at com.google.android.apps.youtube.app.common.notification.FcmMessageListenerService.b(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at com.google.firebase.messaging.FirebaseMessagingService.g(PG:53)
11-06 02:29:25.410: E/AndroidRuntime(17339): at avgp.run(Unknown Source:7)
11-06 02:29:25.410: E/AndroidRuntime(17339): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
11-06 02:29:25.410: E/AndroidRuntime(17339): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
11-06 02:29:25.410: E/AndroidRuntime(17339): at usj.run(PG:2)
11-06 02:29:25.410: E/AndroidRuntime(17339): at java.lang.Thread.run(Thread.java:764)
11-06 02:29:25.410: E/AndroidRuntime(17339): Caused by: java.lang.ExceptionInInitializerError
11-06 02:29:25.410: E/AndroidRuntime(17339): at aewu.b(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.a(PG:230)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.get(PG:247)
11-06 02:29:25.410: E/AndroidRuntime(17339): at aevw.b(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dud.al(PG:5)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.a(PG:174)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duc.get(PG:247)
11-06 02:29:25.410: E/AndroidRuntime(17339): at aeqv.a(PG:6)
11-06 02:29:25.410: E/AndroidRuntime(17339): at acpw.b(PG:2)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dxe.a(PG:8)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dus.onCreate(PG:41)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5767)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.app.ActivityThread.-wrap1(Unknown Source:0)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1680)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.os.Handler.dispatchMessage(Handler.java:106)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.os.Looper.loop(Looper.java:164)
11-06 02:29:25.410: E/AndroidRuntime(17339): at android.app.ActivityThread.main(ActivityThread.java:6523)
11-06 02:29:25.410: E/AndroidRuntime(17339): at java.lang.reflect.Method.invoke(Native Method)
11-06 02:29:25.410: E/AndroidRuntime(17339): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
11-06 02:29:25.410: E/AndroidRuntime(17339): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
11-06 02:29:25.410: E/AndroidRuntime(17339): Caused by: dkp: libelements.so
11-06 02:29:25.410: E/AndroidRuntime(17339): at dks.c(PG:52)
11-06 02:29:25.410: E/AndroidRuntime(17339): at dkq.a(PG:6)
11-06 02:29:25.410: E/AndroidRuntime(17339): at duv.a(Unknown Source:8)
11-06 02:29:25.410: E/AndroidRuntime(17339): at avlz.f(PG:8)
11-06 02:29:25.410: E/AndroidRuntime(17339): at avlz.e(PG:5)
11-06 02:29:25.410: E/AndroidRuntime(17339): at avlz.a(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at wqq.a(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): at aewt.<clinit>(PG:1)
11-06 02:29:25.410: E/AndroidRuntime(17339): ... 21 more
- Play Console Pre-release Logcat
Process: com.google.android.youtube, PID: 27807
java.lang.NoClassDefFoundError: aewt
at aewu.b(PG:1)
at duc.a(PG:230)
at duc.get(PG:247)
at aevw.b(PG:1)
at dud.al(PG:5)
at dud.aw(PG:4)
at dud.bg(PG:8)
at duc.a(PG:232)
at duc.get(PG:247)
at afke.a(PG:1)
at aeri.b(PG:1)
at dud.fv(PG:4)
at duc.c(PG:269)
at duc.get(PG:247)
at amfk.a(PG:1)
at eiu.K(PG:5)
at dud.fV(PG:7)
at duc.d(PG:334)
at duc.get(PG:247)
at com.google.android.apps.youtube.app.common.notification.FcmMessageListenerService.b(PG:1)
at com.google.firebase.messaging.FirebaseMessagingService.g(PG:53)
at avgp.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at usj.run(PG:2)
at java.lang.Thread.run(Thread.java:831)
Expected Results:
- I don't know why Process: com.google.android.youtube is showing and i'm not using any youtube library all
Relevant Code:
No specific code or step shown that produce the exception.
- 主要语言
- Kotlin
- 星标
- 9.3k
- 派生
- 7.4k
- 平均合并
- 7 天 9 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
firebase/quickstart-android 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
firebase/quickstart-android#2756 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
firebase/quickstart-android#2754 · 5 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 32/100
firebase/quickstart-android#2668 ·
-
难度 4/5 3-5 天 新手友好度 25/100
firebase/quickstart-android#2663 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
firebase/quickstart-android#1669 · 3 条评论 ·
查看 firebase/quickstart-android 的全部 Issue
相似的 Issue
-
android:plan main:plan packages:learn
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
Needs Triage
难度 2/5 1-3 小时 新手友好度 72/100
ankidroid/Anki-Android#23453 ·
维护者通常 1 天内回复
-
afk-ok area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 78/100
enorm-labs/event-junkie#5278 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
bazel-contrib/rules_kotlin#1846 ·
维护者通常 2 天内回复