When hitting the “debug”-button in eclipse my App gets signed by a debug key form android which is stored in the file “debug.keystore”.
Now I am implementing the Facebook SDK which forces me to use a signed app for the Single SignOn feature. That way I need to generate the hash of my companies keystore and store the one in our facebook developer account.
I know how to sign an app through the wizard in Eclipse (over the AndroidManifest.xml). How to debug such a signed app?
Can I change the debug key somehow and set up our companies key as debug key? Or how should I go? Right now I can get FB working only by signing and installing my app on a device. I already tried to generate a hash of the debug key with no luck…
I do not recommend setting your companies key as your debug key, but you can do that by replacing the Eclipse debug keystore file, named debug.keystore. You can find its location on your OS by reading through this.
A better solution would be to generate the hash of the debug key – follow the instructions given on the official SDK for Android page, and make sure you mention the correct keystore file, and the alias “androiddebugkey”. The password is always “android”.