Thread: Help with testsign.jar
- 08-17-2010 04:13 PM #1
Help with testsign.jar
For what ever reason, I am unable to sign .apk's and .zip's with testsign.jar. I used the following guides:
Amon-Ra
[SCRIPT/HOW-TO] Sign files with a right-click (Ubuntu) - xda-developers (my original setup worked fine OTB)
and this guide:
toxigenicpoem
Auto Sign Linux : Use Nautilus/Konqurer to sign zips - Simply Android
is it possible that the testsign.jar I downloaded are whacked or am I using the wrong version of Java?
this what shows when I run the following:
bobby@Riggs-9300:~$ sudo update-alternatives --config java
[sudo] password for bobby:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/bin/gij-4.4 1044 manual mode
2 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
Press enter to keep the current choice[*], or type selection number:
It used to duplicate the file that I was signing except "signed-" at the front this is the script that I used based off of Amon-Ra's [How-To]:
#!/bin/sh
# Update the Loc var to where YOU stored the testsign.jar file !
Loc=~/AndroidSDK/tools/sign
for arg
do
java -classpath "$Loc"testsign.jar testsign "$arg" signed-"$arg"
gdialog --title "signapk" --msgbox "signed-"$arg" created" 200 200
done
Now it just pops the alert saying signed-*.* created with the newfile nowhere to be found. and the original not signed.
I created the file in the ~/.gnome/nautilus-scripts folder then chmod u+x to make them executable. Any help to resolve this matter willHW: Cliq Titanium
Recovery: j_r0dd-mb200-v2/0 - j_r0dd
Rom: [ROM] Team Rogue's CM4Morrison 7.1.0
"Wars come and go but my Soldiers are eternal."
-Tupac Shakur
- 08-17-2010 09:09 PM #2
So I Hear You Can Mod
- Join Date
- Mar 2010
- Posts
- 315
- Thanks
- 71
- Thanked 226 Times in 78 Posts
- Downloads
- 15
- Uploads
- 0
You need Oracle Java 6 to run testsign.zip, Open Java 6 will not work.
To get Oracle Java 6, follow OpenCliq's tutorial: here
-
The Following User Says Thank You to toxigenicpoem For This Useful Post:
Zor_Primo (08-19-2010)
- 08-19-2010 09:06 PM #3
THanks for you reply. Yes, it was the version of Java. I had like 3 versions on my other box before it crashed. Sun-Java5, Sun-Java6 and Open-Java6. Yes, it seems that Open-Java isn't the right one.
Please close the thread.HW: Cliq Titanium
Recovery: j_r0dd-mb200-v2/0 - j_r0dd
Rom: [ROM] Team Rogue's CM4Morrison 7.1.0
"Wars come and go but my Soldiers are eternal."
-Tupac Shakur
- 08-22-2010 04:14 PM #4
closed per request of OP
Nexus S: CM7.1 Kang w/Voodoo
Backflip: CM7.1
Cliq: CM7.1
Follow me on Twitter
If you like something I have done & want to buy me a RedBull click HERE
-
The Following User Says Thank You to j_r0dd For This Useful Post:
sublime1184 (08-24-2010)


LinkBack URL
About LinkBacks

