androidjarsigner

Signing an existing apk using debug.keystore generated by eclipse


I have an existing unsigned apk and I want to sign it using my debug.keystore file. Here I found a tutorial how it can be done.

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name

But what should I write as alias_name and what should be the passphrase? Is there any way to find out what alias_name and passphrase are used by Eclipse during the signing?


Solution

  • You don't really want to create it with your debug key, but;

    -alias androiddebugkey 
    -keystore /the/path/debug.keystore 
    -storepass android 
    -keypass android