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.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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