Mike Szczys · Apr 28, 2013 at 09:00 am

How to Sign and Zipalign Your APK Files

When you get done coding and testing your shiny new app, you’ll still have a couple of steps left to make it ready for prime time. There are plenty of ways to learn about signing APK files, but I found XDA Senior Member Nikwen‘s guide to give just enough of an overview without getting bogged down in the details.

You can drill down to the gritty details of the process by reading the manual. There are two big developer references put out by Google, one on signing your application and the other on using the zip align tool. Signing an app is a requirement for release. Zip aligning is not, but it does help to optimize the APK file, so it’s highly recommended. Just make sure that you do the aligning after the file is compiled and signed.

Those not wanting to spend an hour reading can watch Nikwen walk through the process in ten easy and illustrated steps in the original forum thread. He uses Eclipse for the task. The guide gets down to business with steps six and seven, which create the new key. This is also where you put your makers mark on the product by assigning your name, company, address, and how long the signed package will be able to be installed (in years) to the finalized file.


_________
Want something on the XDA Portal? Send us a tip!

Mike Szczys

szczys is an editor on XDA-Developers, the largest community for Android users. Mike Szczys is a professional musician but spends all his free time working with hobby electronics. As Contributing Editor for Hackaday.com he became interested in Android as some of the early hardware hacks started popping up on the Internet. What followed was a gradually rising addiction to all things Android. View szczys's posts and articles here.
Emil Kako · May 25, 2015 at 12:32 pm · 4 comments

Which IM Client on Android is best?

With so many different messengers to choose from, it can be tough to find the best one for you and your friends to use. Hangouts, Whatsapp, Telegram and more are all battling it out for the number one spot. Let us know which IM client you think is best on Android and why.

DISCUSS
Jimmy McGee · May 25, 2015 at 12:00 pm · 2 comments

Android Factory Reset Security Flaw and More – XDA TV

Nvidia is releasing a 500Gb SHIELD TV Pro! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the announcement of an Android factory reset security flaw and be sure to check out the article talking about the Nexus Player getting TWRP. That's not all that's covered in today's video! Jordan covered the LG G4 First Impressions and Unboxing video from TK released this weekend...

XDA NEWS
Mathew Brack · May 25, 2015 at 06:00 am · 7 comments

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code name used internally by Google has been seen to be Macadamia Nut Cookie (MNC). This will almost certainly not be the final name for the release with rumors so far leaning towards milkshake, much like Key Lime Pie became Kit Kat and Lemon Meringue Pie became Lollipop. The acronym MNC has now also started to appear in several locations in AOSP, just look out...

XDA NEWS
Share This