title: myfirebasemessaging service is not assignable to android.app.service
body: <p>This is my manifest file. I have a problem login in on my app and I am getting this error. my firebase messaging service is not assignable to android.app.service. What might be the problem?</p>
  
  <pre><code>&lt;!-- [START firebase_service] --&gt;
      &lt;service android:name=".MyFirebaseMessagingService"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.firebase.MESSAGING_EVENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/service&gt;
      &lt;!-- [END firebase_service] --&gt;
      &lt;!-- [START firebase_iid_service] --&gt;
      &lt;service
          android:name=".MyFirebaseInstanceIDService"
          android:enabled="true"
          android:exported="true"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.firebase.INSTANCE_ID_EVENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/service&gt;
  </code></pre>