Search code examples
androidfacebookappcelerator

Appcelerator Android keyhash for facebook?


i am using appcelerator Studio 6.0.4GA SDK , i am having issue by finding debug.keystore

when i write in Terminal :

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

its return keyhash , i've put this keyhash in Facebook developer app but its still giving error key hash not matched , where i can get this keyhash, since i am using Mac and Appcelerator Studio .


Solution

  • Here is the solution might help someone else

    1- navigate to /Users/YOUR_USER_NAME/Library/Application Support/Titanium/mobilesdk/osx/<YOUR_SDK_VERSION>

    2- type in terminal

    keytool -exportcert -alias tidev -keystore dev_keystore | openssl sha1 -binary | openssl base64
    

    3- put the password : tirocks

    they keyhash will print out