Flutterfire: 馃悰 [firebase_messaging] v8.0.0-dev.2 java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal

Created on 29 Oct 2020  路  4Comments  路  Source: FirebaseExtended/flutterfire

Bug report

Since firebase_messaging v8.0.0 I get this error:

W/ConnectionTracker(22164): Exception thrown while unbinding
W/ConnectionTracker(22164): java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@2f37ede
W/ConnectionTracker(22164):     at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1759)
W/ConnectionTracker(22164):     at android.app.ContextImpl.unbindService(ContextImpl.java:1786)
W/ConnectionTracker(22164):     at android.content.ContextWrapper.unbindService(ContextWrapper.java:751)
W/ConnectionTracker(22164):     at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
W/ConnectionTracker(22164):     at com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
W/ConnectionTracker(22164):     at com.google.android.gms.measurement.internal.zzio.zzag(com.google.android.gms:play-services-measurement-impl@@17.6.0:245)
W/ConnectionTracker(22164):     at com.google.android.gms.measurement.internal.zzio.zzal(com.google.android.gms:play-services-measurement-impl@@17.6.0:262)
W/ConnectionTracker(22164):     at com.google.android.gms.measurement.internal.zzio.zzc(com.google.android.gms:play-services-measurement-impl@@17.6.0:336)
W/ConnectionTracker(22164):     at com.google.android.gms.measurement.internal.zzir.zza(com.google.android.gms:play-services-measurement-impl@@17.6.0:2)
W/ConnectionTracker(22164):     at com.google.android.gms.measurement.internal.zzai.run(com.google.android.gms:play-services-measurement-impl@@17.6.0:7)
W/ConnectionTracker(22164):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(22164):     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(22164):     at com.google.android.gms.measurement.internal.zzfs.run(com.google.android.gms:play-services-measurement-impl@@17.6.0:21)
core messaging bug

Most helpful comment

Same here. Please fix it :)

All 4 comments

This is caused by an upstream P1 https://github.com/firebase/firebase-android-sdk/issues/1662 on the Android side. This doesn't affect just messaging so labeling this as core as well.

Should probably leave this open to track it here until it is fixed.

Same here. Please fix it :)

I have the same problem and I am using version 7.0.3

There was a useful comment here (4052 by @MattyBoy4444) on how to temporarily fix the issue.
In short, add implementation 'com.google.firebase:firebase-analytics:18.0.0' into the dependencies of your app/build.gradle. It helped me.

Was this page helpful?
0 / 5 - 0 ratings