Code gets stuck at acquiring wake lock while registering with GCM

馋奶兔 提交于 2019-12-01 22:51:17

You are using the com.google.android.gcm.GCMBroadcastReceiver broadcast receiver from the Google GCM client library. This class expects the intent service to be in the main package of your app (example.pro) but your intent service is in a different package - com.thinkappz.advancedtictactoe. That's why the receiver can't find the service.

You should either move the GCMIntentService to the main package of your app, or override GCMBroadcastReceiver.

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