internal error: retry receiver class not set yet

2020-07-08 06:43发布

问题:

I am implementing a simple gcm push server notification to mobile but when I push from the server, the notification is not displayed on mobile phone. The log shows this error

internal error: retry receiver class not set yet

Can someone tell me how to fix this or give me a link to a gcm library that fix this error. I searched on the web, google say this error is fixed in a library version but I can't find it on the net.

回答1:

This issue is solved by Android-GCM team but not released yet.Check Non-released changes (available only on source-code repository) here. The source code is available,you add it as library to your project.

Otherwise,simple work around to rectify this issue is, restart your Device.



回答2:

This is gcm.jar library bug.Download the latest jar file from android sdk path :

android-sdk-windows\extras\google\gcm\gcm-client\dist