DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 2 of 2

Thread: Sign multiple apk's at once in ubuntu?

  1. Junior Droid
    Drew408's Avatar
    Member #
    67482
    Join Date
    May 2010
    Posts
    18
    Phone
    Motorola Droid
    #1

    Sign multiple apk's at once in ubuntu?

    Anyone have any idea how I would sign multiple apk's in ~/sign/unsigned and output them to ~/sign/signed with the original apk name? The two issues I'm facing are
    A.) I don't know how to sign all the apk's at one time in a folder using signapk or jarsigner
    B.) When I do sign and individual apk I don't know how to keep the same name from input using *.apk (the wildcard) and keep the original name in the output...any help would be appreciated!

    There are 71 apk's i need to sign and make sure they all are signed with the same key at once. Individually signing them one by one would take too long because after I sign them individually I need to go and rename the signed apk with the original name.

    Here is the code I use to sign an individual apk file:

    cd ~/sign/unsigned
    java -jar /home/andrew/sign/signapk.jar /home/andrew/sign/certificate.pem /home/andrew/sign/key.pk8 ~/sign/unsigned/*.apk ~/sign/signed/signed.apk

    Please tell me how I can keep the original input name to the output without having to rename them and then how could I sign multiple apk's at once?
  2.  
     
     
     
  3. Droid
    mozicodo's Avatar
    Member #
    64702
    Join Date
    May 2010
    Location
    Colorado Springs, CO
    Posts
    60
    Phone
    Droid
    #2
    I can't tell you of the top of my head, but bash scripting sounds like it's in order for this. If you're more comfortable with Python or Perl or some other scripting language you could use that instead.

    Sent from my Droid using Tapatalk

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. MS Exchange - multiple address books / multiple calendars
    By Devojr in forum Android Tech Support
    Replies: 3
    Last Post: 09-29-2010, 03:07 PM
  2. How to sign multiple apk's at once??
    By Drew408 in forum Android Roms
    Replies: 0
    Last Post: 07-29-2010, 12:39 PM
  3. View Multiple Calendars from Multiple Accounts?
    By kevdog in forum Android Hacks and Help
    Replies: 1
    Last Post: 06-29-2010, 11:56 PM
  4. ubuntu and adb
    By pullmehome in forum Android Hacks and Help
    Replies: 1
    Last Post: 03-27-2010, 01:08 AM

Search tags for this page

android sign apk ubuntu
,
how sign the apks ubuntu
,
how to sign apk ubuntu
,
jarsigner sign multiple
,

re-sign.jar ubuntu

,
resign apk ubuntu
,

sign apk ubuntu

,
signapk ubuntu
,
ubuntu one apk
,
ubuntu one.apk
Click on a term to search our site for related topics.
Find us on Google+