onRegistered 메소드가 호출되지 않습니다. logcat에서 마지막 라인이 wakelock을 획득하는 것으로 나타납니다. 03 :GCM onRegistered가 호출되지 않았습니다.
- 09-26 23.285 14 : D/GCMRegistrar (15820) : 03 : 23.285 :
- 09-26 14 백 오프 재설정 V/GCMRegistrar (15,820) *는 등록 앱 보낸 사람 735175912799
- 09-26 14 : 03 : 23.895 : V/GCMBroadcastReceiver (15820) : onReceive : - com.google.android.c2dm.intent.REGISTRATION 09-26 14 : 03 : 23.895 : V/GCMRegistrar 15820) : 재시도 수신기 클래스의 이름을 * .notifications.MyGCMBroadcastReceiver로 설정
- 09-26 14 : 03 : 23.895 : V/GCMBroadcastReceiver (15820) : GCM IntentService 클래스 : - * .notifications.GCMIntentService
- 09-26 14 : 03 : 23.903 : V/GCMBaseIntentService (15820) :
내가 내 자신의 브로드 캐스트 리시버가 취득 가동 잠금 :
import com.google.android.gcm.GCMBroadcastReceiver;
public class MyGCMBroadcastReceiver extends GCMBroadcastReceiver {
@Override
protected String getGCMIntentServiceClassName (Context context) {
return GCMIntentService.class.getCanonicalName();
}
}