【发布时间】:2014-05-02 11:45:16
【问题描述】:
我正在学习本教程
http://javapapers.com/android/google-cloud-messaging-gcm-for-android-and-push-notifications/
我做了所有事情,但是在注册 id 时,我得到了以下错误:
已向 GCM 服务器注册。错误:服务不可用
我在我的实际设备 HTC 上使用 android 2.3.5 进行测试,因为我的机器不支持 Hax,我设备上的时间和日期是正确的,并且我安装了 google play 服务,但仍然出现相同的错误,有什么解决方案吗? ?
【问题讨论】:
-
您需要安装 google play services apk。尝试在真机上测试
标签: java android google-cloud-messaging