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
java.lang.IllegalArgumentException: Service not registered #503
Comments
@inceptusp this seems like an issue with the Google Play Services. Do you have Google Play Services installed on your device? Did you use the |
@mvanbeusekom Yes, I have Google Play Services... It is a Samsung Galaxy J6, the same device I was using before the update... I never used the |
FYI. I have also been seeing this error after I upgraded to 6.0.0+1. When I revert to 5.3.2+2 it goes away again. I have moved my geocoding calls to geocoding 1.0.3 and that is working fine. The issue is definitely with geolocator 6.0.0+1. I also don't use forceAndroidLocationManager and I use Play Services. Been trying to use the debugger to narrow the issue down to a particular call before I reported it but struggling. It only appears after I load my home page and appears to have a delay so could be a listener or an async await call. |
I also saw this recently, correct me if I'm wrong but |
@GrahamDi @inceptusp it looks like it is related to this issue and I noticed that we indeed bring in the This should be fixed by removing the line, but I need to test this out. I will do so today / tomorrow and then make a new release. |
Hi @inceptusp and @GrahamDi, I have just release version 6.0.0+2 of the geolocator plugin where I removed the |
Hi,
I can only test tomorrow unfortunately, but will certainly do so.
Hopefully @inceptusp <https://github.com/inceptusp> can test sooner.
Krgrds, Graham
…On Thu, 03 Sep 2020, 15:57 Maurits van Beusekom, ***@***.***> wrote:
Hi @inceptusp <https://github.com/inceptusp> and @GrahamDi
<https://github.com/GrahamDi>, I have just release version 6.0.0+2 of the
geolocator plugin where I removed the
com.google.android.gms:play-services-base:17.3.0 line from the
geolocator's build.gradle file. Is it possible for one of you to test if
this solved the problem? I would really appreciate that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#503 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHVES4AF3HVK3GMAMQ5DBCTSD6OEFANCNFSM4QSOIRBA>
.
|
@mvanbeusekom I have just tested and it is working flawlessly now... Thx |
Glad to hear! Thanks for the feedback and posting the bug report! Will close the issue, if the error pops up again let me know and I’ll reopen it again |
@mvanbeusekom Finally got around to testing it. Working fine for me also. Thanks a lot for fixing so quickly. |
Add the following to your android\app\build.gradle
|
I still have the same issue. pubspec.yaml file Project level build.gradle App level build.gradle dependencies { The error occurs after adding this line to App level build.gradle file |
@amroomi not sure I can help here, your listing of the Looks like this has to do something with the other "firebase" plugins, this issue is still open for those plugins: firebase/firebase-android-sdk#1662 |
@mvanbeusekom I am not using geolocator plugin I am only using firebase core, auth and database plugins. |
Yes but you are raising this issue in the geolocator repository. We maintain the geolocator and have no relation to the firebase plugins. |
Same me W/ConnectionTracker: Exception thrown while unbinding |
I have now the same error, didn't touch my code and it was working 2 days ago... |
@sontn15, @sebastien-michel, just to make sure are you both using the geolocator plugin? Do you depend on any other packages (i.e. firebase)? Could you provide some additional information? Mostly the contents of the |
@amroomi @sontn15 @sebastien-michel this error is a bug on firebase_core tracked by this issue: firebase/flutterfire#4090 It was a bug on Geolocator but @mvanbeusekom has fixed it... You should complain with flutterfire team... I am too receiving this same messages using firebase_admob since it requires firebase_core which is the cause of the issue... |
The same problem while login in firebase with Facebook
|
Same problem
|
Same problem with atttempt show admob test ad |
@Nasar-uddin, @dulkith, @vsalamov, really curious why you are posting these problems here? How does this related to the geolocator plugin? Please provide information on why you think this problem has to do with the geolocator plugin (since we solved this issue months ago). If you are having this issue and do not make use of the geolocotor plugin, the answer is: you are in the wrong place, please post this issue in the correct location (if you are experiencing this problem in combination with Firebase, read through issue firebase/flutterfire#4090, they document workarounds (for example here). |
@mvanbeusekom I think you should lock this thread for now... They are posting these things here because when you search the error on Google it leave them here... |
🔙 Regression
After upgrading to 6.0.0+1 I started to receive an exception as a warning on console multiple times
Old (and correct) behavior
Not having an exception
Reproduction steps
Just ask the position and the error appears after a while
Configuration
Version: 6.0.0+1
Platform:
Console output
The text was updated successfully, but these errors were encountered: