0

I am trying to use Google Cloud Messaging in my android app, but when I try to register the device to the GCM server (gcm.register(senderIds)) I get an error:

IOException - SERVICE_NOT_AVAILABLE...

Any help?

Joel
  • 4,732
  • 9
  • 39
  • 54
Jake
  • 1
  • 1
  • which device are you using? Android O.S. / API level? Asked because of this: http://stackoverflow.com/questions/17618982/gcm-service-not-available-on-android-2-2 – Pararth Mar 13 '14 at 18:26
  • I am using a Xperia S running android version 4.1.2 Jelly Bean. – Jake Mar 13 '14 at 18:50

1 Answers1

0

Assuming you've correctly followed the necessary steps (Android GCM SDK Reference) to configure GCM in the manifest, getting SERVICE_NOT_AVAILABLE is not uncommon, sometimes the service is not available. You're app should periodically attempt to register with a back-off strategy.