How to zipalign the .apk file using eclipse?

Tej Zaveri picture Tej Zaveri · Mar 16, 2011 · Viewed 62.7k times · Source

Can anyone tell me how to zipalign my .apk file with using eclipse. I have made my .apk file by giving command like,

  1. Right Click on Project Folder

  2. Click on "Android Tools" option from menu.

  3. Click on "Export Signed Application Package..." and my .apk generated in given application alias.

Now want to do zipalign for this above generated .apk file. Does any tool require to do so OR anything that can solve my problem.

Answer

apesa picture apesa · Mar 16, 2011

If you did what you described above then Eclipse has already zipaligned your apk for you. You can't zipalign an already zipaligned package