New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
DaveKid
Old
#1  
DaveKid's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 156
Join Date: Sep 2009
Location: Louisville
Question Re-Sign APK after Customizing????

I'm attempting to "theme" (might be a stretch to call what i'm doing a theme) my first app. I started with intuitit's Launcher, modified the pull down icon and the background to suit my likings, dumped the image files back into the archive via 7zip. When I attempt to install to my phone I get this error in the command line:

[INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

Thinking this is because I didn't sign it after I made the changes? What is the best, most easiest way to sign my apps? I already have Eclipse installed, a workspace created, the most recent Android SDK files and the Android plugin's configured for Eclipse. But I'm thinking there is just some sort of batch file out there that will self sign the file.

Also, maybe this isn't a signing issue. If not, what is it?

Nexus One
CM7 RC1
T-Mobile
 
AbsoluteDesignz
Old
(Last edited by AbsoluteDesignz; 15th March 2010 at 05:48 PM.)
#2  
AbsoluteDesignz's Avatar
Senior Member
Thanks Meter 35
Posts: 1,574
Join Date: Sep 2007
Location: New Jersey
Quote:
Originally Posted by DaveKid View Post
I'm attempting to "theme" (might be a stretch to call what i'm doing a theme) my first app. I started with intuitit's Launcher, modified the pull down icon and the background to suit my likings, dumped the image files back into the archive via 7zip. When I attempt to install to my phone I get this error in the command line:

[INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

Thinking this is because I didn't sign it after I made the changes? What is the best, most easiest way to sign my apps? I already have Eclipse installed, a workspace created, the most recent Android SDK files and the Android plugin's configured for Eclipse. But I'm thinking there is just some sort of batch file out there that will self sign the file.

Also, maybe this isn't a signing issue. If not, what is it?
I use a script I found on the G1 boards...I'll zip it up for you and post it here...Its a modification of the zip signing thing, I use it all the time for Hello IM (horrible company multiple facets btw, no updates anymore they suck) and Chomp SMS

Simply extract the file to any directory, and in the root folder place ur customized APK file then run the sign.bat your file will be named your_app_signed.apk

sometimes I have to remove the META-INF from inside the APK then sign it for it to work (it recreates meta info)

have fun.

Also, you do not name a topic HOW TO unless you are offering a HOW TO, it is misleading...this is a question...you know that...it belongs in Q&A
Attached Files
File Type: zip Auto-Sign.zip - [Click for QR Code] (816.3 KB, 1878 views)
yeah...
The Following User Says Thank You to AbsoluteDesignz For This Useful Post: [ Click to Expand ]
 
DaveKid
Old
#3  
DaveKid's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 156
Join Date: Sep 2009
Location: Louisville
Quote:
Originally Posted by AbsoluteDesignz View Post
Also, you do not name a topic HOW TO unless you are offering a HOW TO, it is misleading...this is a question...you know that...it belongs in Q&A

your absolutely right! I sometimes am not sure where the best place is. and [HOW-TO] is definitely misleading.

thanks again for all your help.

Nexus One
CM7 RC1
T-Mobile