마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

GCM, push 등록 실패 ㅠㅠ

0 추천

 

GCM 하고 있는데 등록이 안되요 ;;;
도무지 이유를 모르겠네요 ;;
sender id 100번도 더 확인했어요 ㅠㅠ
알려주세요 아래 로그 첨부합니다.
 
 
06-18 22:51:03.017: V/GCMBroadcastReceiver(13010): onReceive: com.google.android.c2dm.intent.REGISTRATION
06-18 22:51:03.017: V/GCMBroadcastReceiver(13010): GCM IntentService class: com.example.pushtest.GCMIntentService
06-18 22:51:03.017: V/GCMBaseIntentService(13010): Acquiring wakelock
06-18 22:51:03.017: V/GCMBaseIntentService(13010): Intent service name: GCMIntentService-228234172900-1
06-18 22:51:03.037: E/GCMRegistrar(13010): internal error: retry receiver class not set yet
06-18 22:51:03.037: V/GCMRegistrar(13010): Registering receiver
06-18 22:51:03.037: D/GCMBaseIntentService(13010): handleRegistration: registrationId = null, error = INVALID_SENDER, unregistered = null
06-18 22:51:03.037: D/GCMBaseIntentService(13010): Registration error: INVALID_SENDER
06-18 22:51:03.037: D/GCMIntentService(13010): onError : INVALID_SENDER
06-18 22:51:03.037: V/GCMBaseIntentService(13010): Releasing wakelock
06-18 22:51:03.057: D/GCM(976): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
06-18 22:51:03.127: D/GCM(976): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
할꺼없네 (600 포인트) 님이 2013년 6월 19일 질문

1개의 답변

0 추천

말씀하시는 sender id 가 Project number 인것 같은데..

혹시 구글 프로젝트에서 받아와야할 키값이 2개 인데.. (Project number,  API key)

두개의 키값이 잘못 입력되었나 다시하면 확인보시거나..

구글 프로젝트 설정에서 모든 사용자 접근이 허용되어 있나도 확인해 보세요.

매니페스트에서 receiver 빠진 설정도 확인해 보시고요 ~_~;

 

100번도 넘게 확인하셨다 하니 난감허네요 ~_~;

 

구글 GCM 관련한 메뉴얼 페이지도 링크 걸어드립니다. 

http://developer.android.com/google/gcm/gs.html

익명사용자 님이 2013년 6월 19일 답변
2013년 6월 19일 수정
...