Android GCM- Register Id and Project Id

爱⌒轻易说出口 提交于 2020-05-14 10:25:29

问题


I can't get register id with my project id

Can i get new project id with different google account for same project.


回答1:


follow the steps below:

  1. launch your application
  2. check if register-id
  3. if register id is empty string then check for any error messages in ddms
  4. if there is no error messages then
    a) Check whether senderid is correct.
    b) Check your manifest permissions
  5. if there are error messages then can you paste it here?

genereally what happens when application launches first time it take some time to generate the register id and register id can be catch in onRegister() method in GCMIntentService class.



来源:https://stackoverflow.com/questions/12367792/android-gcm-register-id-and-project-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!