I generate key hash by these commands
keytool -genkey -v -keystore xxx.keystore -alias xxx -keyalg RSA -keysize 2048 -validity 10000
keytool -exportcert -alias xxx -keystore xxx.keystore | openssl sha1 -binary | openssl base64
Then I got this key hash
Bmce+9aHdOoVtE7fS3B07tfj7Bc=
I add it to intellij Artifacts
But, when I use facebook sdk to login, I got this message.
Invalid key hash, The key hash 0FltZY3_r2cu8z_LOYILzjwSxjA does not match any stored key hashes. Configure your app key hashes at http://developer.faceboo.......
Why the key is still not correct?