When updating Android Studio, the debug key that is used to sign debugging applications might change. Just add the new SHA-1 checksum of your debug key to the Firebase console.
The easiest way is to connect / sync with firebase from
Tools> Firebase> Authentication> Connect> Sync
If you want to do this manually or unlock the keystore, first generate the SHA-1 checksum using the following command:
keytool -list -v -keystore KEYSTORE_PATH -alias ALIAS_NAME
Then copy the SHA-1 checksum and go to:
Firebase Console> Your project> Application Settings> Add fingerprint
source share