Step 1:
You need to download openssl first-
you can download openssl form given link below-
https://code.google.com/archive/p/openssl-for-windows/downloads
Step 2:
JDK must be installed in your computer else you download first and set the
path in environment variable because keytool is available in jdk/bin/keytool
Step3:
and finaly you can run given command from cmd
you have to put actually the path to your openssl folder that you have downloaded. Your actual command should look like:
keytool -exportcert -alias androiddebugkey -keystore C:\Users\Vijay\.android\debug.keystore | "E:\openssl\bin\openssl.exe" sha1 -binary | "E:\openssl\bin\openssl.exe" base64
For Generating SHA1
Just open Gradle Projects in android studio
and goto app/task/android/ and just double click over signingReport and check your console
you will get SHA1
No comments:
Post a Comment