Question Detail

How to generate Keyhash (Facebook) using the Keytool in android

6 years ago Views 1530 Visit Post Reply

I am trying to create Hashkey but it giving me 'openssl' is not recognized as an internal or external command,
operable program or batch file.

Thread Reply


- 5 years ago

If you are not able to find your debug.keystore file it should auto-generate when you create build APK in Android Studio by the way you can create it manually by follow below command in your CMD or terminal

keytool -genkey -v -keystore C:\Users\YOUR_PC_USER_NAME\.android\debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"