title: Error in Manifest while using GCM for push Notification
body: <p>I have started working on GCM Notification 
  after a lot of goggling i checked out code through which i can get registration id from GCM Server so i used </p>
  
  <pre><code>super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
  GCMRegistrar.checkDevice(this);
  GCMRegistrar.checkManifest(this);
  
  final String regId= GCMRegistrar.getRegistrationId(this);
  
  if (regId.equals("")) {
    GCMRegistrar.register(this, "338056690461");
  }
  else{
    Log.v(TAG, "Already registered");
  }
  
    But When i run My Application i get error on   `CheckMAnifest()`
  </code></pre>
  
  <p>this means i have   error in my manifest but accordint to me my manifest is correct please have alook to my    Exception as well as manifest</p>
  
  <p>Exception it gives </p>
  
  <pre><code>java.lang.IllegalStateException: Application does not define permission PushNotification.Pop.permission.C2D_MESSAGE
  </code></pre>
  
  <p>and manifest i have used is </p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="PushNotification.Pop"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="8" /&gt;
  
      &lt;permission
          android:name="PushNotification.Pop.permission.C2D_MESSAGE"
          android:protectionLevel="signature" /&gt;
  
      &lt;uses-permission android:name="PushNotification.Pop.permission.C2D_MESSAGE" /&gt;
  
      &lt;!-- App receives GCM messages. --&gt;
      &lt;uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /&gt;
      &lt;!-- GCM connects to Google Services. --&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;!-- GCM requires a Google account. --&gt;
      &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
      &lt;!-- Keeps the processor from sleeping when a message is received. --&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  
      &lt;application android:debuggable="true" android:label="@string/app_name" &gt;
          &lt;activity
              android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
          &lt;receiver
              android:name="com.google.android.gcm.GCMBroadcastReceiver"
              android:permission="com.google.android.c2dm.permission.SEND" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
                  &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
                  &lt;category android:name="PushNotification.Pop" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
         &lt;service android:name=".GCMIntentService" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Please suggest me where i am going wrong your help would be greatfull
  Thanks in advance :)</p>