title: Java.Lang.NoClassDefFoundError when implementing firebase cloud messaging
body: <p>I am implementing push notifications using Firebase Cloud Messaging, for this I added this code in my AndroidManifest.xml file</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;!--FCM RECEIVER--&gt;
  &lt;receiver
    android:name=&quot;com.google.firebase.iid.FirebaseInstanceIdInternalReceiver&quot;
    android:exported=&quot;false&quot;/&gt;
  &lt;receiver
    android:name=&quot;com.google.firebase.iid.FirebaseInstanceIdReceiver&quot;
    android:exported=&quot;true&quot;
    android:permission=&quot;com.google.android.c2dm.permission.SEND&quot;&gt;
    
    &lt;intent-filter&gt;
      &lt;action android:name=&quot;com.google.android.c2dm.intent.RECEIVE&quot;/&gt;
      &lt;action android:name=&quot;com.google.android.c2dm.intent.REGISTRATION&quot;/&gt;
      &lt;category android:name=&quot;${applicationId}&quot;/&gt;
    &lt;/intent-filter&gt;    
  &lt;/receiver&gt;
  &lt;!---FCM RECEIVER ENDS HERE--&gt;
  </code></pre>
  <p>but when I try to run the application, it throws the application even before starting the activity</p>
  <pre><code>Java.Lang.NoClassDefFoundError: 'Failed resolution of: Lcom/google/android/datatransport/runtime/dagger/internal/Factory;'
  </code></pre>
  <p>By the way, I had Installed two NuGet Packages for this functionality:</p>
  <ol>
  <li>Xamarin.GooglePlayServices.Base</li>
  <li>Xamarin.Firebase.Messaging</li>
  </ol>
  <p>I have tried:</p>
  <ol>
  <li>deleting the bin and obj folder and building the solution again</li>
  <li>updating all the same family nugget packages to the same version</li>
  </ol>