This app is not authorized to use Firebase Authentication in Emulator
In order to prevent abuse the firebase phone authentication wont work in emulator.
But if you want it for testing purpose then you should add use some
testing phone number in firebase console that will work in emulator.
Go to your firebase console -> Authentication -> SIGN-IN Method -> Phone and check the "Phone numbers for testing (optional)" field.
This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console
When you updated Android Studio, the debug key which is used to sign debug apps might have changed. Just add the new SHA-1 checksum of your debug key in the firebase console.
Easiest way would be to connect/sync to firebase from
Tools>Firebase>Authentication>Connect>Sync
If you want to do it manually or for release keystore, first generate SHA-1 checksum using following command:
keytool -list -v -keystore KEYSTORE_PATH -alias ALIAS_NAME
Then copy the SHA-1 checksum and go to:
Firebase Console > Your project > Settings of the app > Add Fingerprint
For more info, read this guide: Authenticating Your Client | Google APIs for Android
Related Topics
Google Geocoder Service Is Unavaliable (Coordinates to Address)
How to Use "Goasync" for Broadcastreceiver
Getting All the Total and Available Space on Android
Broadcast on Contact Add/Change
Google Map Android API V2 Can't Display Map in Play Store Application
Android Sharedpreferences , How to Save a Simple Int Variable
Kitkat Kills: Not Allowed to Load Local Resource: File:///Android_Asset/Webkit/Android-Weberror.Png
Java.Io.Ioexception: Unexpected End of Stream on Connection in Android
How to Align Textview Around an Imageview
Changing Gradient Background Colors on Android at Runtime
Firebase Authentication Not Working in Signed APK
Google Drive API Doesn't Play Well with Proguard (Npe)
How to Create a New Avd in Eclipse
How to Detect a Dual-Core CPU on an Android Device from Code
Xamarin Forms Android App Crashes Running Debug with VS Android Emulator