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.
Mario Tomás Serrafero · Jul 6, 2015 at 12:49 pm · 4 comments

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years we've some of our favorite companies' tables turned. Some are stagnating, some are struggling, some lack direction. Despite this, we often hold them dear to our hearts. Many of them could use a hand, be it with design, marketing, or other tasks. If you could help out an OEM and take it back to its golden days, which one would it be?

DISCUSS
Aamir Siddiqui · Jul 6, 2015 at 11:03 am · 2 comments

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties involved in rooting and installing a custom rom, recovery and kernel on such a carrier locked device. Add to this the extra layer of security that Samsung adds in the form of the Knox counter on its devices, and one can only imagine the roadblocks for enthusiasts who want to play around with their device without losing warranty in the process. It's a slippery slope...

XDA NEWS
Jimmy McGee · Jul 6, 2015 at 06:00 am · 4 comments

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of IonVR and be sure to check out the article talking about the OnePlus Cardboard price (Hint, it's free). That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK released an...

XDA NEWS
Share This