GeoCoder Service not Available
I'm using the GeoCoder
to get an AddressLocation
.
Unfortunately the method fires an IOException saying: "Service not Available"
.
This StackOverFlow thread explains what is going on because I tested it thoroughly (user permissions, build versions, restarts, GeoCoding API limits, etc.).
The Google Play-Services
(or LocationService
) that you can find in: Android Settings -> (Manage) Applications --> Running Process, has crashed or stopped. It restarts itself but forgets to bind the GeoCoderService to the NetworkLocator.
The "Solution" to this bug is to restart the Android phone, because on reboot the GeoCoderService is binded to the NetworkLocater. Of course I do not find this a solution.
My question is, how does the LocationService crash or get stopped in the first place?
What I did is force-stop the Google Play-Service by hand and some devices restarted the LocationService but some didn't.
NOT WORKING (did not restart LocationService)
WORKING (did restart LocationService)
Does anybody know what the reason is that the Google Play-service (LocationService) crashes or get's stopped after running a while?
I already escalated this issue to the b.Android.com and personally contacted Android developers.
I've seen that my issue has been discussed in other threads but did not pull any conclusion:
Restart device check again(i have face same issue.)