Skip to content

Instantly share code, notes, and snippets.

@FokkeZB
Last active October 30, 2017 18:39
Show Gist options
  • Save FokkeZB/6424355 to your computer and use it in GitHub Desktop.
Save FokkeZB/6424355 to your computer and use it in GitHub Desktop.
Get the Key Hash for Titanium's develoment keystore (replace 3.1.3.GA with your version), required for the Facebook SDK (https://developers.facebook.com/docs/android/getting-started/facebook-sdk-for-android) and the SHA1 fingerprint for the Google Cloud API's (pw: tirocks).
keytool -exportcert -alias androiddebugkey -keystore ~/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/dev_keystore | openssl sha1 -binary | openssl base64
keytool -exportcert -alias androiddebugkey -keystore ~/Library/Application\ Support/Titanium/mobilesdk/osx/3.1.3.GA/android/dev_keystore -list -v
@jerry42
Copy link

jerry42 commented Feb 17, 2014

Use "tidev" instead of "androiddebugkey" to get a valid hash key. ( Ti 3.2.1.GA )

@yahya-uddin
Copy link

For windows I found out to use the following:

keytool -exportcert -alias tidev -keystore C:\ProgramData\Titanium\mobilesdk\win32\<version>\android\dev_keystore | openssl sha1 -binary | openssl base64

with tirocks for password

@FokkeZB
Copy link
Author

FokkeZB commented Oct 30, 2017

@jerry42 thx, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment