Reputation: 552
Debug Signing Certificate SHA-1
I run a android project and I want to connect my project to firebase.
To do that I need the sha 1 key. for that reason I have to run this code in my terminal.
keytool -exportcert -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
Lot of people use this article to to that.
in my case its not working in my computer.
How I just run this commend in my computer. I use windows 10 and android 3.5
This is the screen shot of the problem
It will be more helpful if someone see my GitHub Repository. :
I also see a approach in this article but I just want to run this commend in my computer.
Upvotes: 2
Views: 1137
Reputation: 6140
First set Path
in the Environment Variable
E.g C:\Program Files\Java\jdk1.8.0_211\bin <Map Your JDK path>
Then run your command.
Or you can do it with the following way.
You can generate in Android Studio
Find Gradle in the top right corner.
Doble clicks on SigningReport.
You will find it in the console.
Upvotes: 2