I'm using a Mac and Android Studio Dolphin 2021.3.1 Patch 1.
None of the answers with visual directions worked for me because when I pressed the gradle/elephant in the upper right hand corner of Android studio, there were only 2 paths MyPojectName/app. Everyone else's has more paths underneath however mines only has 2.
When I pressed the elephant (Execute Gradle Task
) and I typed in signingReport
nada. I looked through the list but it wasn't there.
When I opened Terminal in Android studio and entered gradlew signingReport
nothing found. Then I tried ./gradlew signingReport
and still nothing.
Long story short it only took 2 easy steps to find the keys. I first followed this answer:
1- Android Studio
/Preferences
/Build,Execution,Deployment
/Build Tools
/Gradle
. In the right panel click the Gradle JDK
dropdown then select Download JDK
2- After that finished, while in Android Studio I opened Terminal

In there I followed R7G's answer (his answer didn't work at first without step 1) and entered this into terminal:
bash ./gradlew signingreport
And like that, both keys appeared

Another option is to add Gradle either using Homebrew
brew install gradle
or install gradle manually
To find where gradle is located on mac
Another option is to run gradle wrapper
and follow the prompts