GeoCoder Service not Available

user2685182 picture user2685182 · Aug 15, 2013 · Viewed 8.1k times · Source

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.

QUESTION

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)

  • 4.0.3 Samsung Galaxy Note (GT-N7000)
  • 4.0.4 Samsung Tablet GT-P7100
  • 4.1.2 nexus S
  • 4.1.2 Samsung Galaxy S III (GT-I9300)

WORKING (did restart LocationService)

  • 2.3.5 HTC Wildfired S
  • 4.0.3 Acer A500
  • 4.1.1 Samsung Galaxy Note II (GT-7100)
  • 4.1.2 Samsung Galaxy S II (GT-I9105P)
  • 4.2.2 Samsung Tablet GT-P7500
  • 4.2.2 Nexus 7
  • 4.3 Galaxy Nexus

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:

Answer

Gautam picture Gautam · Apr 8, 2015

Restart device check again(i have face same issue.)