title: E/FirebaseInstanceId: Failed to get FIS auth token
body: <p>I have followed all the steps in firebase creation of project.
  When I run my application I get following error:
  E/FirebaseInstanceId: Failed to get FIS auth token
      java.util.concurrent.ExecutionException: com.google.firebase.installations.FirebaseInstallationsException</p>
  
  <p>I have added necessary libraries in build.gradle</p>
  
  <p>But still it gives me error. Is there any solution for this.</p>
  
  <p>Full stackstrace is as below:</p>
  
  <pre><code>-11 17:31:28.460 8093-8093/com.myapp V/FA: Registered activity lifecycle callback
  03-11 17:31:28.510 8093-8153/com.myapp W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
  03-11 17:31:28.550 8093-8156/com.myapp I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
  03-11 17:31:28.550 8093-8093/com.myapp I/FirebaseInitProvider: FirebaseApp initialization successful
  03-11 17:31:28.550 8093-8156/com.myapp I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
  03-11 17:31:28.570 8093-8158/com.myapp W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
  03-11 17:31:28.590 8093-8158/com.myapp I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation
  03-11 17:31:28.690 8093-8093/com.myapp W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
  03-11 17:31:28.700 8093-8093/com.myapp V/FA: onActivityCreated
  03-11 17:31:28.720 8093-8139/com.myapp V/FA: App measurement collection enabled
  03-11 17:31:28.720 8093-8139/com.myapp V/FA: App measurement enabled for app package, google app id: com.myapp, 1:694013098939:android:9c791b689fec2f9f78629e
  03-11 17:31:28.720 8093-8139/com.myapp I/FA: App measurement initialized, version: 22048
  03-11 17:31:28.720 8093-8139/com.myapp I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
  03-11 17:31:28.720 8093-8139/com.myapp I/FA: To enable faster debug mode event logging run:
        adb shell setprop debug.firebase.analytics.app com.myapp
  03-11 17:31:28.720 8093-8139/com.myapp D/FA: Debug-level message logging enabled
  03-11 17:31:28.750 8093-8093/com.myapp I/art: Rejecting re-init on previously-failed class java.lang.Class&lt;androidx.core.view.ViewCompat$2&gt;
  03-11 17:31:28.750 8093-8093/com.myapp I/art: Rejecting re-init on previously-failed class java.lang.Class&lt;androidx.core.view.ViewCompat$2&gt;
  03-11 17:31:28.850 8093-8093/com.myapp D/TextView: setTypeface with style : 0
  03-11 17:31:28.980 8093-8093/com.myapp D/TextView: setTypeface with style : 0
  03-11 17:31:28.990 8093-8093/com.myapp I/Timeline: Timeline: Activity_launch_request id:com.myapp time:8027824
  03-11 17:31:29.150 8093-8157/com.myapp E/FirebaseInstanceId: Failed to get FIS auth token
      java.util.concurrent.ExecutionException: com.google.firebase.installations.FirebaseInstallationsException
          at com.google.android.gms.tasks.Tasks.zzb(Unknown Source)
          at com.google.android.gms.tasks.Tasks.await(Unknown Source)
          at com.google.firebase.iid.zzs.zzb(com.google.firebase:firebase-iid@@20.1.1:54)
          at com.google.firebase.iid.zzs.zza(com.google.firebase:firebase-iid@@20.1.1:89)
          at com.google.firebase.iid.zzv.run(com.google.firebase:firebase-iid@@20.1.1)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
          at java.lang.Thread.run(Thread.java:818)
       Caused by: com.google.firebase.installations.FirebaseInstallationsException
          at com.google.firebase.installations.FirebaseInstallations.doRegistrationInternal(com.google.firebase:firebase-installations@@16.0.0:333)
          at com.google.firebase.installations.FirebaseInstallations.doGetId(com.google.firebase:firebase-installations@@16.0.0:280)
          at com.google.firebase.installations.FirebaseInstallations.access$lambda$0(com.google.firebase:firebase-installations@@16.0.0)
          at com.google.firebase.installations.FirebaseInstallations$$Lambda$1.run(com.google.firebase:firebase-installations@@16.0.0)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
          at java.lang.Thread.run(Thread.java:818) 
  </code></pre>