FATAL EXCEPTION: Firebase-Messaging-Intent-Handle

Abierto
#1,209 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
android, firebase, kotlin
Área
mobile

Línea de trabajo

No se proporciona ningún archivo fuente específico ni ningún paso de reproducción; comienza con el ejemplo de mensajería de Kotlin en messaging/app/src/main/java/com/google/firebase/quickstart/fcm/kotlin y compara sus dependencias con las versiones de Firebase y de los servicios de Google indicadas. Revisa los stack traces de Firebase Test Lab y Play Console, establece después un caso reproducible y documenta si el ejemplo de mensajería puede evitar el fallo reportado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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:
  1. This problem shown on pre-release report of Google Play Console for two devices Nokia 1 and Huawei P8
  2. In local emulator or physical devices not showing this exception, but also shown in Firebase Test Lab devices.
  3. I tested messaging in local devices with FCM token and works fine
  4. 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:
  1. 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
  1. 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.
Lenguaje dominante
Kotlin
Estrellas
9.3k
Forks
7.4k
Merge medio
7 d 9 h
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de firebase/quickstart-android

Todos los issues de firebase/quickstart-android

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.