08-16 11:52:21.472: E/AndroidRuntime(29190): java.lang.RuntimeException: Unable to start receiver ksoft.kdy.smsplayer.SmsReceiver: android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents
08-16 11:52:21.472: E/AndroidRuntime(29190): Caused by: android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents
08-16 11:52:21.472: E/AndroidRuntime(29190): java.lang.RuntimeException: Unable to start receiver ksoft.kdy.smsplayer.SmsReceiver: android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents
08-16 11:52:21.472: E/AndroidRuntime(29190): Caused by: android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents

 

인증시스템인데 에러뿜네요...

아래는 인증등록시스템입니다(static void)

 

public static void RegistGCM(Context context){
 
 GCMRegistrar.checkDevice(context);
 GCMRegistrar.checkManifest(context);
 if(GCMRegistrar.getRegistrationId(context).equals("")){
  GCMRegistrar.register(context, Global.PROJECT_ID);
 }else{
  //이미 GCM 을 상요하기위해 등록ID를 구해왔음
  GCMRegistrar.unregister(context);
  GCMRegistrar.register(context, Global.PROJECT_ID);
 }
}

 

아래는 static void문 실행하는 부분
    @Override
    public void onReceive(Context context, Intent intent) {
     
     if (intent.getAction().equals(ACTION)) {
            Bundle bundle = intent.getExtras();
            Util.RegistGCM(context);

.....(이하 생략)