Android Exception : LoadedApk:forgetServiceDispatcher:888 {AdWorker #2

Viewed 5277

I am facing a bug with my latest app for Android. I am using latest Google Play Services v. 4 and think that it is the culprit for the following error I get on some phones. I get many reports for this kind of errors : IllegalArgumentException (@LoadedApk:forgetServiceDispatcher:888) {AdWorker #2}

The error details from reports from users are those :

java.lang.IllegalArgumentException: Service not registered: ano@407dc868
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:891)
at android.app.ContextImpl.unbindService(ContextImpl.java:906)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:352)
at ta.a(SourceFile:135)
at qc.d(SourceFile:88)
at qc.b(SourceFile:129)
at pz.a(SourceFile:239)
at pz.a(SourceFile:176)
at wd.a(SourceFile:112)
at xf.run(SourceFile:14)
at xh.run(SourceFile:30)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)

I can't understand what goes wrong, since my app does not use any services at all except for the google play services.

Any ideas?

2 Answers

Seems like this is introduced by firebase-core package version 20+. However, this doesn't seem like an actual issue or a crash. With this also the app keeps working fine both in debug and release mode. For now there is no fix for it except to live with it or to downgrade the version to belo 20.

More discussions on this github page.

Related