Sto seguendo Android Push Notifications using Google Cloud Messaging (GCM) per implementare GCM con la mia applicazione funzionava bene sul singolo dispositivo (Galaxy S)
quando ho provato a testarlo con un altro dispositivo (Galaxy Tab 7')
il suo errore di generazione.Ottenere INVALID_SENDER su un dispositivo mentre funziona con un altro GCM android
handleRegistration: registrationId = null, errore = INVALID_SENDER, non registrato = null
qui è il registro che sto ottenendo
V/GCMRegistrar(5649): Registering app my_maypackage of senders APA91bHvzZbO_nyYvaA_QRGDaV-wRAYKjt0qJSQmzPUi2unqG7j0OGuyhVY1A3zh-ZfnA0XT0ffgyKypVJ_5owLZvZBNGARpTBkBg9ED8gVVCDejaIpShghq_tXGhMnFQEufwdCL1ibm
V/GCMRegistrar(5649): Setting registeredOnServer status as true until 2013-04-02 11:02:07.847
V/GCMBroadcastReceiver(5649): onReceive: com.google.android.c2dm.intent.REGISTRATION
V/GCMBroadcastReceiver(5649): GCM IntentService class: my_maypackage.GCMIntentService
V/GCMBaseIntentService(5649): Acquiring wakelock
V/GCMBaseIntentService(5649): Intent service name: GCMIntentService-980172650021-7
D/GCMBaseIntentService(5649): handleRegistration: registrationId = null, error = INVALID_SENDER, unregistered = null
D/GCMBaseIntentService(5649): Registration error: INVALID_SENDER
I/GCMIntentService(5649): Received error: INVALID_SENDER
V/GCMBaseIntentService(5649): Releasing wakelock
Nota: entrambi i dispositivi sono configurati con lo stesso account gmail .
DAMN IT ........ Stavo usando l''ID progetto' che era basato sul testo nell'url, questo potrebbe essere il modo in cui l'url è scritto nella nuova console dell'API. Gah !!! Tutto risolto ora grazie :) – GONeale
Quindi, dove si proietta id come numero. Il mio è basato sul testo come vigile-rinforzo-234. O dovrei usare questo? –
Ok, ho trovato un modo per ottenere l'ID del progetto numerico: basta andare alla console classica (originale) ed è ancora lì! –