Skip to main content

Command Palette

Search for a command to run...

How to get your debug SHA-1 fingerprint certificate in Android Studio

Updated
โ€ข2 min read
How to get your debug SHA-1 fingerprint certificate in Android Studio
D

Hi there! Iโ€™m an Android developer with over 2 years of experience in building high-quality and meaningful products mostly in startups. I'm a creative and open-minded problem-solving enthusiast, with a constantly growing love for languages. Beside's programming, I enjoy Reading Books, my most recent read is the Almanac of Naval Ravikant.

Hello again, I was working on a pet project over the weekend and was trying to connect the app to Firebase, so I got to a part where I needed to input my app's SHA-1 fingerprint certificate for debug mode. I found this easy way to do it and I'll be sharing that in this article.

Let's get started already

  • Open Android Studio and open your Project
  • Click on Gradle (From Right Side Panel, you will see Gradle Bar)
  • Click on Your Project (Your Project Name form List (root))

sha1_your_project.png

  • Click on Tasks and click on Android Double Click on signingReport (You will get SHA1 and MD5 in Run Bar(Sometimes it will be in Gradle Console)) Select app module from module selection dropdown to run or debug your application

Sha1_other_steps.png

Voila ๐Ÿ‘พ your app's SHA-1 fingerprint is sitting right there Sha1.png

if you have another easy way to do this kindly share in the comment section. Happy coding ๐Ÿ‘จโ€๐Ÿ’ป

More from this blog

C

Code Bytes

7 posts

Hello there! ๐Ÿ‘‹ My name is Chidi, I am a Software Engineer ๐Ÿ‘จโ€๐Ÿ’ป with about 2 years of experience. Welcome to my blog ๐Ÿ˜Ž where I write about things I learn on a daily basis