2

After updating my Android studio to Arctic Fox, Gradle scripts don't behave as previously. It does not show the root Gradle scripts to run. Any idea on this? How do I obtain Debug and Release SHA-1 fingerprints from the GUI?

enter image description here

KZoNE
  • 1,249
  • 1
  • 16
  • 27

3 Answers3

4

Below steps will helpful to generate SHA1 signature from Android Studio Arctic Fox

  1. Click on Gradle from right pane in Android Studio and check below screenshot

Gradle click action

  1. After click on Execute Gradle Task then it opens pop-up as Run Anything

Execute Gradle Task icon click action

  1. Write signingReport command after gradle keyword shown in popup and press enter then it will showing the debug key of MD5, SHA1 and SHA-256

signingReport command and press enter

  1. In Run window from bottom side of Android Studio, it will showing the debug key of MD5, SHA1 and SHA-256

Run window to show debug key of MD5, SHA1 and SHA-256

Above picture will help you to obtain the SHA1 signature easily from Arctic Fox.

Pratik Dodiya
  • 2,337
  • 1
  • 19
  • 12
1

You just need to go to File > Settings...

In the Experimental menu, uncheck the option 'Do not build Gradle task list during Gradle sync'. See the steps below. Don't check this option

0

If you're on windows run

.\gradlew signingReport

and on Linux/Mac run

gradlew signingReport

This will generate the keys and show them in terminal. This command will give the debug keys. For release keys you can you can follow this answer. You can also get debug keys from the answer.

Wilfred Almeida
  • 601
  • 8
  • 15
  • gradlew is not identified as a command. Do you have any idea that where I need to run this command? – KZoNE Dec 25 '21 at 06:17
  • In the root directory of your project. the commmand is installed alongside the sdk. Try installing the Android SDK platform tools from the SDK manager. – Wilfred Almeida Dec 26 '21 at 16:58