GCM Invalid sender error

后端 未结 3 586
终归单人心
终归单人心 2021-01-18 00:22

I\'m stuck for a while on a mysterious problem. So I implemented GCM in my android app, but i receive an INVALID_SENDER error.

  • My SENDER_ID is the id from the
相关标签:
3条回答
  • 2021-01-18 00:53

    Forgot to turn off the C2DM service. Silly me..

    0 讨论(0)
  • 2021-01-18 00:55

    Finally got around this. Was accidentally trying to use the the 'Project ID' instead of the 'Project Number'. Google Developer Console provides both on the Overview page, make sure you are using the correct one.

    0 讨论(0)
  • 2021-01-18 01:12

    Maybe your senderID is not true. You should create constructor for GCMIntentService class and call super(<SenderId>).

    0 讨论(0)
提交回复
热议问题