title: Failed to resolve Intent Service Android
body: <p>I am getting following error when trying to configure Push Notification:</p>
  
  <pre><code>06-07 01:05:59.735 18708-18708/com.ebr.apps.ebr.development E/FirebaseInstanceId: Failed to resolve target intent service, skipping classname enforcement
  06-07 01:05:59.735 18708-18708/com.ebr.apps.ebr.development E/FirebaseInstanceId: Error while delivering the message: ServiceIntent not found.
  </code></pre>
  
  <p>I have different flavors in gradle:</p>
  
  <p>My code package name is : <strong>com.ebr.apps.ebr</strong>
  My product flavor package is: <strong>com.ebr.apps.ebr.development</strong></p>
  
  <p>I have placed  google-services.json in <strong>app/src/development</strong></p>
  
  <p><strong>Manifest:</strong>
      
          </p>
  
  <pre><code>    &lt;permission
          android:name="${applicationId}.permission.C2D_MESSAGE"
          android:protectionLevel="signature"/&gt;
  
      &lt;uses-permission android:name="${applicationId}.permission.C2D_MESSAGE"/&gt;
  
           &lt;receiver
              android:name="com.google.android.gms.gcm.GcmReceiver"
              android:exported="true"
              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="${applicationId}" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
          &lt;service
              android:name=".GCM.PushNotificationService"
              android:exported="false"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.google.android.c2dm.intent.RECEIVE"/&gt;
              &lt;/intent-filter&gt;
          &lt;/service&gt;
  </code></pre>
  
  <p>I have looked at many example but still getting this error. </p>