简体   繁体   中英

Confusion with SHA-1 in Firebase

I want to know what SHA-1 I need to write in this window:

在此处输入图片说明

Is it the one that I see on the signinReport inside Android Studio, as shown here: 在此处输入图片说明

Or, this is the SHA-1 I need to generate according to this tutorial: Authenticating Your Client

Or they are the same one?

Also, when I try to follow their tutorial, via command line, I just, can't get it to work, what am I doing wrong:

在此处输入图片说明

Totally confused, would love to get clarification

You can use sha1 key given in studio like below image 在此处输入图片说明

Or You can find using command also like below (Open CMD and hit below commands)

For Debug mode:

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 

for Release mode:

keytool -list -v -keystore {keystore_name} -alias {alias_name}

example:

keytool -list -v -keystore C:\Users\MG\Desktop\test.jks -alias test

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM