-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [firebase_core] java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@dbed45a #4090
Comments
also this we have in logs
|
On latest stable (1.22.3) using
With only If we update Now, with above config as-is, if we add any other dependency such as |
@darshankawar using the config above even with other packages (I basically have most of them installed in my app) my app doesn't crash upon launch but it does crash eventually at sometime. Not sure if it is random or when one of the packages are trying to access some resource but it does crash after a while using the app. I'm also using the latest stable version as well as the latest firebase packages. Edit: Edit2: |
I get the same error as @kw2019ltd :
I get it in a new created flutter project with the only dependency |
Same issue for me. Started for me just a few days ago
|
Same. Everytime i make a http post request my app crashes: WConnectionTracker(30774) Exception thrown while unbinding |
I have exactly the same error. Anyone have temporary solution or workaround? I get the same log as below and when error throws, the ui stops completely.
flutter doctor below
|
There is this workaround. |
didn't work for me :( |
I'm also gettting this
It seems to have started after updating Crashlytics SDK and adding FirebaseCore 0.5.2 App hasn't crashed yet but slightly concerned as I don't know what's causing this and needed to update Crashlytics THIS SEEMS TO HAVE FIXED IT FOR ME adding these two dependencies to app level build.gradle (../android/app/build.gradle)
|
@carman247 |
I just added only |
Same issue for me. For me it's also the error related to dynamite_measurementdynamite. |
D/ViewRootImpl@aeb4784MainActivity: ViewPostIme pointer 1 dependencies { not work for me |
Same issue and error but @carman247 suggested solution have solved the issue for me too. |
I'm taking the risk and going ahead and ignoring the exception warnings, as they seem to be from Google Play Services and being channeled into the error log via |
This is a known issue issue with the Firebase Android SDK and therefore there's nothing we can do to fix it on FlutterFire until its fixed upstream; firebase/firebase-android-sdk#1662 Given that this is a non-fatal error and isn't causing a crash I don't think there's anything to worry about for the time being. |
This comment has been minimized.
This comment has been minimized.
Make sure to have this line in your MainActivity file " GeneratedPluginRegistrant.registerWith(flutterEngine);" For example
|
I started to have this issue after implementing firebase_admob to my Flutter project. implementation 'com.google.firebase:firebase-analytics:18.0.0' After adding the lines, not just Hot Reload, the virtual machine is needed to close and restart. |
I tried the solutions above and this is a big issue for me since Firebase Analytics considers this a crash. Any workaround besides the ones said above? |
For anyone struggling with this, you will have to redo your app based on the latest methods on launching the app https://firebase.flutter.dev/docs/overview |
Thank you!
Le jeu. 21 janv. 2021 à 16:49, György Chityil <[email protected]> a
écrit :
… For anyone struggling with this, you will have to redo your app based on
the latest methods on launching the app
Google revamped pretty much the entire plumbing...
https://firebase.flutter.dev/docs/overview
https://firebase.flutter.dev/docs/migration/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4090 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASNT3PHUTBM7L7XLJTCMJL3S3BLIPANCNFSM4TR2VUZQ>
.
|
@maxweo I still have this error ... exactly what instructions did you follow to resolve it ? The error is still present even after a |
@workerbee22 see https://firebase.flutter.dev/docs/migration |
Sorry @maxweo the migration guide does not fix the issue for me. |
@workerbee22 |
Yes it seems to be which combination of FlutterFire packages you are using. Mine is closer to the list of packages from @kw2019ltd who originally raise the issue. I'm now down to just the following ... core, analytics and crashlytics .... STILL have this issue. Still some combination testing to do, but I'm guessing the root cause in in
|
Hey, 👋, the I'd recommend switching to the alternatives now;
Apologies for any inconvenience here and best of luck switching over the the new APIs. Thanks |
@Salakar these errors occur even without the |
Re-opened and updated title |
This isn't an error, it is a warning:
It is benign and should be ignored as such which is confirmed in the original |
Bug report
Describe the bug
app crashing when launching on below error , it was working before when using firebase_core: 0.5.0+1
there is open issue on google:
firebase/firebase-android-sdk#1662
Steps to reproduce
Steps to reproduce the behavior:
run app and you will see error in console
The text was updated successfully, but these errors were encountered: