GCM SERVICE_NOT_AVAILABLE on Android 2.2

后端 未结 9 1562
青春惊慌失措
青春惊慌失措 2020-11-27 06:21

I am getting the error \"SERVICE_NOT_AVAILABLE\" on my GoogleCloudMessaging.register() call on a Android 2.2 device.

I am writing an app that uses GoogleCloudMessagi

9条回答
  •  温柔的废话
    2020-11-27 06:40

    If the marked answer is not working for you (as it was for me), check the person in front of your device, maybe shake it and then enable the internet connection. Worked for me ;-)

    Without internet, you receive the same Exception and I spent the afternoon chasing complex problems with the service....

提交回复
热议问题