The Facebook error message is : Invalid key hash. The key hash xxxxxxx= does not match any stored key hashes...
I know this issue has been already treated but i still have the problem. I wrote below the detailled process but i should have miss something. Please help.
I am working on windows 10/Cordova/android.
- Open cmd window as adminstrator
- npm update -g cordova
- cordova platform update android
- cd platforms\android\build\outputs\apk; rm *.apk
- keytool -genkey -v -keystore myapp.keystore -alias myappalias-keyalg RSA -keysize 2048 -validity 10000
- cordova build android –release
Create platforms\android\release-signing.properties file including:
storeType=jks keyAlias=myappalias keyPassword=mypass storePassword=mypassremove the app from the android-smartphone
cordova run android –release
The key hash i cut& paste in the facebook field is given by the command:
keytool -exportcert -list -v -alias myappalias -keystore myapp.keystore | openssl sha1 -binary | openssl base64
It includes the sign =
Any Idea ?