How to find the debug SHA 1 key

Viewed 873

I am a beginner android developer working on my first project. I unable to find the debug SHA 1 key through the general procedure

enter image description here

2 Answers
  • Go to Android Studio
  • Click on Gradle(Right Most of the Screen)
  • Click your project name and expand it.
  • Then click on Task -> android ->Signing Report
  • Android Studio will generate MD1, SHA-1, and SHA-256 for you.

Yeah I was also facing this problem with the new Android Studio 4.2 but found the solution eventually

Put this command in the terminal of android studio and hit enter

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

see this imageenter image description here

You will get your debug SHA 1 key enter image description here

Related