Junaid Ahmed
Mindful Coder


Mindful Coder


Invalid key hash. The key hash does not match any stored key hashes

Junaid Ahmed's photo
Junaid Ahmed
·Aug 16, 2018·

1 min read

Play this article

This is how i solved this problem

Download your APK to your PC in java jdk\bin folder

bin folder might look like this

C:\Program Files\Java\jdk1.7.0_121\bin

go to java jdk\bin folder and run cmd then
copy the following command in your cmd

keytool -list -printcert -jarfile yourapkname.apk

Copy the SHA1 value, which looks like this


and open http://tomeko.net/online_tools/hex_to_base64.php to convert your SHA1 value to base64.
This is what Facebook requires. Copy base64 value and paste it in key hashes under settings->Basic -> Key hashes

Share this