Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

How to Get SHA-1 key in Android Studio for Firebase.

Spread the Knowledge

There are two methods of getting SHA-1 key, but First one is not working for Windows user. So, if you are a Windows user then go for 2nd Method.

Update:- On Android Studio Latest version(on 24 Sept 2021) 2020.3.1 for Windows 64-bit (912 MiB), Step 2 will not Work. So, go for Step 3.

1. Using Keytool

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.

To get the release certificate fingerprint:

For Windows:-

keytool -list -v \
-alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore

For Mac/Linux:-

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

Note:- If you are not able to get your SHA-1 key using Keytool then Follow the below Method, in this method you will definitely get your SHA-1 key.

2. Using Gradle’s Signing Report

You can also get the SHA-1 of your signing certificate by Gradle signingReport. But for that, you have to follow some steps.

Step 1: – First of all
=> open your project in Android Studio and open the project.
=>In the project, go to the android/app directory where you find build.gradle file. => Open it.
=> After opening, you’ll find an Open for Editing in Android Studio option, Click on it and open it in a new Tab. See the Below Image.

Step 2 :- After opening the file in the new tab, Wait for some time until Gradle Build Model Process Completes.

=> After Build Successful, go to the upper-right section where you find the Gradle option. Click On it.
=> After that Open Android->Tasks->android and Double click on signingReport.
See the Below Image For Help.

Step 3:- After Clicking on it, you’ll get a List of SHA-1 Keys but you have to choose Debug-Debug SHA-1 Key and copy and paste it on your Firebase. See the Below Image:-

Reference Video:- https://www.youtube.com/watch?v=JQKz5BOf-SQ&t=2s

3. Using gradlew

Step 1:- Right-click on ‘gradlew’ and go to ‘Open in Terminal’ This file is found under {{YOUR PROJECT}}/android/gradlew

Step 2:-  Type the following in command.

gradlew signingReport

If did not work first try the second command:

./gradlew signingReport

Thanks for Reading.

Keep Coding.