3

After update Android Studio to version 4.2.1, I can not find the signing report in Grade anymore. Does anyone know where is it or is there another way to get SHA-1 and SHA-256?

enter image description here

Leonard
  • 79
  • 1
  • 8

2 Answers2

1

Option 1 : Just goto gradle option (in the right side) then click on the gradle icon in the left-top side of the popup

then a popup will appears with "Run Anything" name , then type "gradle signingReport" and press enter

Then you will get the SHA in run tab

Option 2 : In Android Studio 4.2.1 the Gradle task list is disabled by default You can re-enable it from: Settings > Experimental > Do not build Gradle task list during Gradle sync.

You can refer to this answer also : https://stackoverflow.com/a/67607465/11736394

Parag Wadhwani
  • 568
  • 1
  • 6
  • 14
1

At the bottom of editor, there's a terminal, click on it and write the following command:

keytool -exportcert -alias your-key-name -keystore /path/to/your/keystore/file -list -v

There is bunch of lines , look for sha1, that's your sha1 fingerprint

Above command is in single line.

stuckoverflow
  • 625
  • 2
  • 7
  • 23