Margs Global
Margs Global

Reputation: 123

Not able to find KeyStore (Android Studio)

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.

This is what it shows

Upvotes: 0

Views: 86

Answers (1)

Karunesh Palekar
Karunesh Palekar

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)

enter image description here

and then Step 2 : type command

gradlew signingReport

enter image description here

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

Related Questions