Rani
1 min readJun 20, 2019

Facebook Android Key hash debug and release

for debug build use command on mac system —

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

Password for debug.keystore is android

For release Build

keytool -exportcert -alias <aliasName> -keystore <keystoreFilePath> | openssl sha1 -binary | openssl base64NOTE : Make sure that in both cases it asks for a  password. If it does not ask for a password, it means that something is  wrong in the command. Password for debug.keystore is "android" and for release you have to enter password that you set during create keystore.

No responses yet

Write a response