Debug bootable Android app? (This is necessary for integration into facebook)

When I click the debug button in eclipse, my application is signed by the debug android form, which is stored in the debug.keystore file.

Now I am implementing the Facebook SDK , which forces me to use a signed application for the Single SignOn function. Thus, I need to create a hash of my keystore and save it in our facebook developer account.

I know how to sign an application through a wizard in Eclipse (via AndroidManifest.xml). How to debug such a signed application?

Is there any way to change the debug key and configure our company key as a debug key? Or how should I go? Right now, I can get FB to work only by signing and installing my application on the device. I already tried to generate a debug key hash with no luck ...

+5
source share
2 answers

I do not recommend setting your company key as a debug key, but you can do this by replacing the Eclipse debug caching file called debug.keystore. You can find its location on your OS by reading this .

- , SDK Android, , "androiddebugkey". "".

+3

-

-

, keytool:

STORE_PASS=<pass_of_company_store>
ALIAS=<alias_of_key_in_company_store>
ALIAS_PASS=<pass_alias>
keytool -importkeystore -v -noprompt \
    -srckeystore /path/to/company/key -destkeystore debug.keystore \
    -srcstorepass $STORE_PASS -deststorepass android \
    -srcalias $ALIAS -destalias androiddebugkey \
    -srckeypass $ALIAS_PASS -destkeypass android

debug (, ~/.android/debug.keystore) , , eclipse apks, facebook.

, debug.keystore. , Google Play Store.

+4

All Articles