GCM'错误:未注册“ [英] GCM 'Error : Not Registered'

查看:296
本文介绍了GCM'错误:未注册“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功地测试我的GCM code。

I succeed in testing My GCM code.

但完全相同的code,我不能让GCM推送,并得到GCM错误:未注册

But exactly same code, I couldn't get GCM push and got GCM Error : Not Registered.

任何人可以帮助我吗?

推荐答案

@LKM GCM回应未注册是指下面的如果NotRegistered,你应该从你的服务器数据库中删除的注册ID,因为应用程序从卸载设备或不具有经配置以接收com.google.android.c2dm.intent.RECEIVE意图的广播接收器。从文档。检查什么情况下,你得到这个错误,当应用程序从设备卸载或您的描述不正确的BroadcastReceiver在AndroidManifest研究。你可以用我的测试GCM服务器测试GCM functionallity。希望这有助于你。

@LKM GCM response 'Not Registered' means following "If it is NotRegistered, you should remove the registration ID from your server database because the application was uninstalled from the device or it does not have a broadcast receiver configured to receive com.google.android.c2dm.intent.RECEIVE intents." from documentation. Check in what case you get this error, when app is uninstalled from device or your describe incorrect broadcastreceiver in AndroidManifest. You can test your GCM functionallity with my test gcm server. Hope, this help you.

这篇关于GCM'错误:未注册“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆