Get SHA1 from Android Studio

SHA1 certificate fingerprint is required for Firebase features, Google API features like maps, google sign-in etc.

Gopal Yadav
Oct 13, 2017 · 2 min read

As of Android Studio 2.2, SHA-1 fingerprint can be obtained from inside the IDE itself. The most common way developers use to find the fingerprint is shooting up the console/terminal/cmd prompt and using the keytool command. Here’s an example for that:

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

This way of finding the SHA-1 is pretty old now, as a developer you always want things like these to be on on fingertips. Now I will show you a better and faster way to get SHA-1 fingerprint.

Step 1. Open your project in Android Studio.

Step 2. Click on Gradle Menu on the right side and expand it.

Step 3. Click on android and then signing report.

(Follow the numbers on image)

Magic happens here:

Android Studio

After clicking on the Run command, go to the Run Tab at the bottom.

Click on the first icon on the left as shown.

Run Tab

BAZINGA! You got your SHA-1 fingerprint.

Come on now, clap it up!

Pen | Bold Kiln Press

Stories, insights and more.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store