Closed yingnierxiao closed 2 years ago
Hi @yingnierxiao,
I see that you provided a logcat output. Please use our template so that we can use the needed information to conduct an investigation.
I look forward to hearing from you soon. Thanks.
Hey @yingnierxiao. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@yingnierxiao if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? What's the issue repro rate? (eg 100%, 1/5 etc)
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.
Relevant Code:
2021-11-24 11:33:21.526 5462-5473 W/art: Suspending all threads took: 12.455ms 2021-11-24 11:33:21.535 5462-5473 I/art: Background sticky concurrent mark sweep GC freed 16384(1146KB) AllocSpace objects, 0(0B) LOS objects, 9% free, 7MB/7MB, paused 12.917ms total 160.983ms 2021-11-24 11:33:21.888 5462-5555 I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.app.JobIntentService$JobServiceEngineImpl>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/app/job/JobServiceEngine; 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.cpp.RegistrationIntentService.writeTokenToInternalStorage(android.content.Context, java.lang.String) (RegistrationIntentService.java:64) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.cpp.ListenerService.onNewToken(java.lang.String) (ListenerService.java:74) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.FirebaseMessagingService.handleIntent(android.content.Intent) (com.google.firebase:firebase-messaging@@22.0.0:5) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.EnhancedIntentService.lambda$processIntent$0$EnhancedIntentService(android.content.Intent, com.google.android.gms.tasks.TaskCompletionSource) (com.google.firebase:firebase-messaging@@22.0.0:1) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.EnhancedIntentService$$Lambda$0.run() (com.google.firebase:firebase-messaging@@22.0.0:-1) 2021-11-24 11:33:21.888 5462-5555 I/art: at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1133) 2021-11-24 11:33:21.888 5462-5555 I/art: at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:607) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.android.gms.common.util.concurrent.zza.run() (com.google.android.gms:play-services-basement@@17.6.0:2) 2021-11-24 11:33:21.888 5462-5555 I/art: at void java.lang.Thread.run() (Thread.java:761) 2021-11-24 11:33:21.888 5462-5555 I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.app.job.JobServiceEngine" on path: DexPathList[[zip file "/data/app-1/base.apk"],nativeLibraryDirectories=[/data/app-1/lib/arm, /data/app-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]] 2021-11-24 11:33:21.888 5462-5555 I/art: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56) 2021-11-24 11:33:21.888 5462-5555 I/art: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380) 2021-11-24 11:33:21.888 5462-5555 I/art: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.cpp.RegistrationIntentService.writeTokenToInternalStorage(android.content.Context, java.lang.String) (RegistrationIntentService.java:64) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.cpp.ListenerService.onNewToken(java.lang.String) (ListenerService.java:74) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.FirebaseMessagingService.handleIntent(android.content.Intent) (com.google.firebase:firebase-messaging@@22.0.0:5) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.EnhancedIntentService.lambda$processIntent$0$EnhancedIntentService(android.content.Intent, com.google.android.gms.tasks.TaskCompletionSource) (com.google.firebase:firebase-messaging@@22.0.0:1) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.firebase.messaging.EnhancedIntentService$$Lambda$0.run() (com.google.firebase:firebase-messaging@@22.0.0:-1) 2021-11-24 11:33:21.888 5462-5555 I/art: at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1133) 2021-11-24 11:33:21.888 5462-5555 I/art: at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:607) 2021-11-24 11:33:21.888 5462-5555 I/art: at void com.google.android.gms.common.util.concurrent.zza.run() (com.google.android.gms:play-services-basement@@17.6.0:2) 2021-11-24 11:33:21.888 5462-5555 I/art: at void java.lang.Thread.run() (Thread.java:761)