Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase 10.0.: InternalFirebaseAuth.FIREBASE_AUTH_API is not available on this device

I am developping an Android application using Firebase Authentication (using Google account) and I recently experience the following exception every time I try to connect:

com.google.firebase.FirebaseApiNotAvailableException: API: InternalFirebaseAuth.FIREBASE_AUTH_API is not available on this device. at com.google.firebase.zza.zzz(Unknown Source) at com.google.android.gms.internal.zzzq$zzd.zzy(Unknown Source) at com.google.android.gms.internal.zzaap$zza.zzC(Unknown Source) at com.google.android.gms.internal.zzaap$zza.onConnectionFailed(Unknown Source) at com.google.android.gms.internal.zzaap$zzb$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:176) at android.os.HandlerThread.run(HandlerThread.java:61)

I'm quite surprised since the authentication worked very well until a few days ago...

I use firebase 10.0.1.

Do someone have ever experienced this error and resolved it?

like image 310
quent Avatar asked Dec 29 '16 17:12

quent


Video Answer


2 Answers

I think you are using your phone as a emulator. So, on your phone,

  1. Go to your Google Play Services.
  2. Open its App Info.
  3. Clear the Data and Cache.

path: --> (Settings > Apps > Google Play services > Storage > Manage Space > Clear All Data).

open the app after few minutes.

like image 169
Swarup Rajbhandari Avatar answered Nov 02 '22 20:11

Swarup Rajbhandari


Maybe your emulator doesn't have google play

like image 45
amorenew Avatar answered Nov 02 '22 20:11

amorenew