Google Cloud Messaging - GCM - SERVICE_NOT_AVAILABLE

后端 未结 6 1783
小蘑菇
小蘑菇 2021-02-04 00:28

I am trying, to implement the new GCM, I am following Google get stated : http://developer.android.com/guide/google/gcm/gs.html

I getting stuck at getting my de

6条回答
  •  走了就别回头了
    2021-02-04 01:07

    The problem was not code related, but link to the test phone. The test phone do not have a SIM, and the clock was not set. So google cannot resgistred it with a wrong time.

    I manage to have a registration Id using a Android Virtual Device, with google api, and by setting the test phone clock.

提交回复
热议问题