[Q] Signing of an apk

Search This thread

TheStrix

Recognized Developer
May 10, 2014
680
6,374
Mumbai
Hey friends, can you tell me how to sign an apk in linux??

I hav downloaded signapk files from source code(https://code.google.com/p/signapk/downloads/detail?name=signapk-0.3.1.tar.bz2&can=2&q=)..
Made a folde named 'signapk' on desktop...
Then i ran the following command...
Code:
java -jar signapk.jar certificate.pem key.pk8 ~/Desktop/SystemUI.apk


But i got this error!! plz help...
Screenshot_from_2014-05-19_02_49_06.png
 

Lgrootnoob

Senior Member
Oct 1, 2012
482
119
25
Dallas
Hey friends, can you tell me how to sign an apk in linux??

I hav downloaded signapk files from source code(https://code.google.com/p/signapk/downloads/detail?name=signapk-0.3.1.tar.bz2&can=2&q=)..
Made a folde named 'signapk' on desktop...
Then i ran the following command...
Code:
java -jar signapk.jar certificate.pem key.pk8 ~/Desktop/SystemUI.apk


But i got this error!! plz help...
Screenshot_from_2014-05-19_02_49_06.png

try not to use the .jar extension.
just type signapk instead of signapk.jar
same crap that java does with .class
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1

    Your trying to access signapk but it is not in the current directory. So youhave to cd to Desktop/signapk before executing your command.

    as follows
    Code:
    cd Desktop/signapk
    java -jar signapk.jar certificate.pem key.pk8 ../SystemUI.apk
    java -jar signapk certificate.pem key.pk8 ../SystemUI.apk