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?
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?
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.