Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,073 Members 44,989 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Signing of an apk

Tip us?
 
TheStrix
Old
#1  
TheStrix's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 356
Join Date: May 2014
Location: ▫ⓂⓊⓂⒷⒶⒾ▫

 
DONATE TO ME
Default [Q] Signing of an apk

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/do...r.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...
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-05-19 02:49:06.png
Views:	8
Size:	22.0 KB
ID:	2751102  
 
Lgrootnoob
Old
#2  
Lgrootnoob's Avatar
Senior Member
Thanks Meter 103
Posts: 470
Join Date: Oct 2012
Location: Dallas

 
DONATE TO ME
Quote:
Originally Posted by TheStrix View Post
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/do...r.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...
try not to use the .jar extension.
just type signapk instead of signapk.jar
same crap that java does with .class
No need to download the whole android sdk or put adb in your path anymore!
Just extract my tool and run the adbClientLaunch script.
To get started go here >
http://forum.xda-developers.com/show...ight=adbclient
My name is Jacob Lane but I prefer to go by Lgrootnoob. (You may also know me as Faelo the music producer)

What have I created? See here:
 
adbClient
Lg Lucid 2 root and other random contributions to the forums here
 
TheStrix
Old
#3  
TheStrix's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 356
Join Date: May 2014
Location: ▫ⓂⓊⓂⒷⒶⒾ▫

 
DONATE TO ME
Quote:
Originally Posted by Lgrootnoob View Post
try not to use the .jar extension.
just type signapk instead of signapk.jar
same crap that java does with .class
Still error..
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-05-19 14:23:03.png
Views:	6
Size:	20.6 KB
ID:	2751799  
 
Lgrootnoob
Old
#4  
Lgrootnoob's Avatar
Senior Member
Thanks Meter 103
Posts: 470
Join Date: Oct 2012
Location: Dallas

 
DONATE TO ME
Quote:
Originally Posted by TheStrix View Post
Still error..
is the signapk jar actually in your directory?

Post the output of these commands:
Code:
ls
ls Desktop
ls Desktop/signapk
No need to download the whole android sdk or put adb in your path anymore!
Just extract my tool and run the adbClientLaunch script.
To get started go here >
http://forum.xda-developers.com/show...ight=adbclient
My name is Jacob Lane but I prefer to go by Lgrootnoob. (You may also know me as Faelo the music producer)

What have I created? See here:
 
adbClient
Lg Lucid 2 root and other random contributions to the forums here
 
TheStrix
Old
#5  
TheStrix's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 356
Join Date: May 2014
Location: ▫ⓂⓊⓂⒷⒶⒾ▫

 
DONATE TO ME
Quote:
Originally Posted by Lgrootnoob View Post
is the signapk jar actually in your directory?

Post the output of these commands:
Code:
ls
ls Desktop
ls Desktop/signapk
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-05-19 23:08:41.png
Views:	6
Size:	75.0 KB
ID:	2752520  
 
Lgrootnoob
Old
#6  
Lgrootnoob's Avatar
Senior Member
Thanks Meter 103
Posts: 470
Join Date: Oct 2012
Location: Dallas

 
DONATE TO ME
Quote:
Originally Posted by TheStrix View Post
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
No need to download the whole android sdk or put adb in your path anymore!
Just extract my tool and run the adbClientLaunch script.
To get started go here >
http://forum.xda-developers.com/show...ight=adbclient
My name is Jacob Lane but I prefer to go by Lgrootnoob. (You may also know me as Faelo the music producer)

What have I created? See here:
 
adbClient
Lg Lucid 2 root and other random contributions to the forums here
The Following User Says Thank You to Lgrootnoob For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Forums Added for the LG G Watch R and Samsung Gear S

A little over a week ago, LG “inadvertently” let the world know about the … more

Secrecy App Goes Open Source, New LG Android Wear Device! – XDA Developer TV

Secrecy encryption app goes open source! That and much … more

Pushbullet Updated with SMS Send Ability

Pushbullet is one of thoseapplications that every Android lover should have installed on his or … more

[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more