I want to get the SHA1 key from Android Studio on a Mac. From Eclipse it's simple, but I can't get this in Android Studio.
I have checked similar questions but didn't get any way to get that in MAC.
The SHA1 is different for signed and unsigned APK. Please mention the methods to get for both.
Thanks in advance.
If you've published your app using Play App Signing, a requirement when using Android App Bundle, you can get your SHA-1 from the Google Play Console on the Release > Setup > App Integrity page.
SHA-1 also referred to as the Secure Hash Algorithm. It is a cryptographic hash function that will take input and it produces a 160-bit hash value. This generated hash value is known as a message digest. This generated hash value is then rendered in a hexadecimal format number which is 40 digits long.
I got my Answer, it was quit simple. Open Terminal, Type command:
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Press Enter: You will get the following info, and SHA1 can be seen there.
.....
Certificate fingerprints:
MD5: 79:F5:59:................FE:09:D1:EC SHA1: 33:57:0A:C9:..................:91:47:14:CD SHA256: 39:AA:23:88:D6:...................33:DF:61:24:CB:17:47:EA:39:94:99
.......
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