FORUMS

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more
Post Reply Subscribe to Thread Email Thread

How to sign an apk

5th March 2014, 07:01 PM |#1  
OP Junior Member
Thanks Meter: 0
 
More
HI!

I have a problem with an apk i am trying to edit. So i have an apk that i changed from .apk to .zip and then opened it with WINRAR to replace original PNGs with new PNGs becouse i didnt like them haha (i kept the same name). then i changed extension back from .zip to .apk and when i tried to install it on my phone (Xperia Miro ICS) it gave me an error. Please help me, what can I do?
Last edited by jaka_music; 6th March 2014 at 05:31 PM.
6th March 2014, 10:33 AM |#2  
LoethonH@z's Avatar
Junior Member
Bandung
Thanks Meter: 7
 
More
Quote:
Originally Posted by jaka_music

HI!

I have a problem with an apk i am trying to edit. So i have an apk that i changed from .apk to .zip and then opened it with WINRAR to replace original PNGs with new PNGs becouse i didnt like them haha (i kept the same name). then i changed extension back from .zip to .apk and when i tried to install it on my phone (Xperia Miro ICS) it gave me an error. Please help me, what can I do?

except system apk, you must sign it. Using apk editor is easier if you only change .png.
6th March 2014, 02:44 PM |#3  
OP Junior Member
Thanks Meter: 0
 
More
Phone
Quote:
Originally Posted by LoethonH@z

except system apk, you must sign it. Using apk editor is easier if you only change .png.

Thanks, but how do I sign it?
6th March 2014, 03:01 PM |#4  
LoethonH@z's Avatar
Junior Member
Bandung
Thanks Meter: 7
 
More
Quote:
Originally Posted by jaka_music

Thanks, but how do I sign it?

just gogling guys, or find here in xda. Many tools for that: apkmanager, apktool etc (via pc) or apkeditor, ninjamorph etc (via device)
6th March 2014, 05:27 PM |#6  
OP Junior Member
Thanks Meter: 0
 
More
Thumbs up Found it
Thank you but i found very easy way to sign it. Heres how:
Instruction :
1) Download Attached "SignApk.rar"
2) Unrar "SignApk.rar" to any folder
3) Copy your apk to be signed to SignApk dir
4) Open command Prompt and go to SignApk dir
5) Type the following command:
java -jar signapk.jar certificate.pem key.pk8 your-app.apk name-off-signed-app.apk
or
signapk.jar certificate.pem key.pk8 your-app.apk name-of-signed-app.apk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes