Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

"Getting GCM SenderId failed" when try to retrieve device token on Android Emulator

$
0
0

Hi I'm developping a mobile app for Android and iOS. I'm using official IDE on Mac OsX with the latest SDK.

I'm not using the ACS to push notification but need it to get the device token and register my device (I'll use Parse). Anyway from now the CloudPush send me those error messages :

[WARN][com.appcelerator.cloud.push.CCPushService(  490)] Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.
[WARN][com.appcelerator.cloud.push.CCPushService(  490)] Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.
[WARN][com.appcelerator.cloud.push.CCPushService(  490)] Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.
[WARN][com.appcelerator.cloud.push.CCPushService(  490)] Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.
[WARN][com.appcelerator.cloud.push.CCPushService(  490)] Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.
[ERROR][com.appcelerator.cloud.push.CCPushService(  490)] Getting GCM SenderId failed. Max retry time reaches.
Here is my code :
var CloudPush = require('ti.cloudpush');
            CloudPush.setEnabled(true);
            CloudPush.retrieveDeviceToken({
                success : success,
                error : function deviceTokenError(e) {
                    utils.log('Failed to register for push! ' + e.error);
                }
            });
Any clue ?

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>