I am making an Android app and am using the Facebook SDK. I generated the Android Key Hash by executing:
keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl base64
How can I retrieve the Certificate fingerprint <SHA1>
?
Open a terminal and run the keytool the utility provided with Java to get the SHA-1 fingerprint of the certificate. You should get both the release and debug certificate fingerprints.
Click on the Gradle tab on the right hand side of the Android Studio window. UPDATE: (Newer versions) In case you don't find an android folder here, go to :app instead of root, navigate to Tasks>android and you'll find signingReport. Double click on signingReport, this will build and post the SHA1 in the bottom view.
After a little research, this worked for me:
keytool -list -alias androiddebugkey -keystore %HOMEPATH%/.android/debug.keystore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With