I'm working on an app that requires login with Google account. I got stuck at release certificate fingerprint and debug certificate fingerprint.
It says
Open a terminal and run the keytool utility provided with Java to get the SHA-1 fingerprint of the certificate. You should get both the release and debug certificate fingerprints.
To get the release certificate fingerprint:
keytool -exportcert -list -v \
-alias <your-key-name> -keystore <path-to-production-keystore>
What I don't understand here is what my key name will be & where to get the path-to-production-keystore
. Also when I type keytool
in the Terminal of Android Studio, I get
'keytool' is not recognized as an internal or external command,
operable program or batch file.
And to get the debug certificate fingerprint it says
keytool -exportcert -list -v \
-alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
What would be the %USERPROFILE%\
here?
Thank you for your time!