InterDash Blogs

Sharing experience

Android Mobile Hash Key

I spent a good part of today looking through the steps for debugging my first Android mobile application. Setup on Facebook requires a hash key.

I couldn’t find much on where to find a value for a Cordova application other than for debugging it is automatically generated. I finally trace the location figured out how to obtain a hash key that will work.

In Eclipse under Windows->Preferences in the Android->Build locate “Default debug keystore:” value, which is typically


Now, assuming you have all the necessary support tools installed use KEYTOOL to get a Hash Key for a Facebook Android Mobile application. This is unique to each installation (machine).

cd %USERPROFILE%\.android

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

Note: ‘android’ is the password.


Copy the value output from this set of commands into your Facebook Android Mobile application.

The debug hash key is only good for development, one key for each developer environment.

Obtaining a production key is a little more involved and will be covered in another blog.

Updated: May 21, 2014 — 4:48 am

Leave a Reply

Your email address will not be published. Required fields are marked *

InterDash Blogs © 2014 Frontier Theme