Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 868
Dmitry Guselnikov Avatar asked Sep 10 '25 17:09

Dmitry Guselnikov


1 Answers

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

-alias androiddebugkey 
-keystore /the/path/debug.keystore 
-storepass android 
-keypass android
like image 58
Stefan de Bruijn Avatar answered Sep 16 '25 11:09

Stefan de Bruijn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!