Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

USB Desktop Charger Roundup – XDA TV

Sometimes you learn one way to do something, and that’s the way you do it forever. You never … more

Samsung Galaxy Grand Duos Receives Early CM12 Port

Samsung Galaxy Grand is a dual-SIM phone with a 5 screen that was announced two years ago. … more

Google Adds New Features to Drive, Sheets, Slides and Docs

In the last few months, Google has been working very hard to adapt all its apps to … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

How to sign an apk

OP jaka_music

5th March 2014, 08:01 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Mar 2014
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 06:31 PM.
6th March 2014, 11:33 AM   |  #2  
LoethonH@z's Avatar
Junior Member
Bandung
Thanks Meter: 7
 
18 posts
Join Date:Joined: Feb 2014
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, 03:44 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Mar 2014
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, 04:01 PM   |  #4  
LoethonH@z's Avatar
Junior Member
Bandung
Thanks Meter: 7
 
18 posts
Join Date:Joined: Feb 2014
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, 06:27 PM   |  #6  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Mar 2014
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