Hello everyone,
As this is a quite confusing for everyone to generate the key hash in your PC, so i decided to write about it. I have also tried many ways but every time i failed to generate the key hash.
After trying for an hour i successfully generated the key.
Just follow the below given Steps and you are done with this.
Step I: Download Openssl from here
Step III: once your download the zip folder. Go to C
drive(where window is installed) and make a folder named openssl
Step IV: extract all zip file in this folder.
Step V: Now go to Java folder and copy path of jre. For example:
C:\Program Files\Java\jre1.8.0_101\bin
(make sure your are in JRE folder not in JDK folder,)
Step VI: Now open Cmd in your PC. Type Cd C:\Program
Files\Java\jre1.8.0_101\bin
Now copy the below code after this
keytool -exportcert -alias androiddebugkey -keystore
"C:\Users\John wick\.android\debug.keystore" |
"C:\openssl\bin\openssl" sha1 -binary
|"C:\openssl\bin\openssl" base64
instead of john wick you need to use your computer name. and
the C:\openssl\bin\openssl is path where we extracted the zip file.
The whole command will be:
C:\Program Files\Java\jre1.8.0_101\bin> keytool -exportcert
-alias androiddebugkey -keystore "C:\Users\John
wick\.android\debug.keystore" | "C:\openssl\bin\openssl" sha1
-binary |"C:\openssl\bin\openssl" base64
After this cmd will promt you for password. Just enter “android”.
You will have your key hash in front of you.
Thanks, Happy Coding ;)
thank you so muccch man <<<<<<3
ReplyDeleteThanks for sharing great post....!! I really like this post.
ReplyDeleteIf you want to make custom website & application you can contact us on our Android Application Development Company and Mobile Application Development Company anytime.
I got here much interesting stuff. The post is great! Thanks for sharing it! Mobile app development company
ReplyDeleteThis is a good post. This post gives truly quality information. I'm definitely going to look into it.Really very useful tips are provided here. Thank you so much. Keep up the good works.
ReplyDeleteflutter app
Incredibly conventional blog and articles. I am really very happy to visit your blog. Directly I am found which I truly need. please visit our website for more information about Mobile application development
ReplyDeleteI am really very happy to visit your blog. Directly I am found which I truly need. please visit our website for more information about Enterprise Mobility Solution Providers in USA
ReplyDeleteI have seen lot of blogs on Facebook integration but this the best - from Web and Mobile app development in Virginia USA
ReplyDelete