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.
Mario Tomás Serrafero · Mar 29, 2015 at 12:02 pm · 1 comment

Sunday Debate: Corporate Cyanogen Good for Android?

Join us in a fun Sunday Debate on Cyanogen Inc. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     CyanogenMod is widely recognized across XDA for its solid performance, great feature set and far-reaching (and also long-lasting) support for all sorts of devices, from...

XDA NEWS
Emil Kako · Mar 28, 2015 at 11:01 pm · 4 comments

Best Alarm App for Android?

There are tons of choices to choose from when looking for a great alarm app for Android. While the stock Clock app for AOSP does the job, it may lack some of the more advanced features from competitors. Let us know what your favorite alarm clock app is for Android and why.

DISCUSS
Chris Gilliam · Mar 28, 2015 at 12:45 pm · 1 comment

Pinsy Brings Social Sketching To Your Watch & Phone

Did you watch Apple's VP draw on his wrist during the Apple Watch announcement and wonder "why can't my Wear watch do that?" In typical XDA fashion, one enterprising forum member has brought similar functionality to Android Wear with a twist; it works on phones and watches alike, with other platforms on the way! The app is called Pinsy, and its release debut is a strong proof of concept with plenty of room to grow. You may remember the developer behind this project, XDA...

XDA NEWS
Share This