Reputation: 123
Hello guys I have started a new project and its a firebase project I need SHA-1 and SHA-256 Keys for authentication before I was able to find in gradle tools but am not able to find here. I have even generated a signed build but still am not able to find those keys. I hope these are necessary information for my question.
Upvotes: 0
Views: 86
Reputation: 2345
In the current Android Studio version , for getting SHA-1 and SHA-26 you can do following :
Step 1 : Click on Execute Gradle Task Icon (The Elephant Icon)
and then Step 2 : type command
gradlew signingReport
and post gradle sync you will get the certificates in the Build section
You can get SHA26 by using keytools using cmd and the command below.
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
Upvotes: 3