How to zip align your android application?

UPDATED: 01 June 2013
Its first time i was working around android application. I created application for my blog feed. Its working fine in my device and other as well. I was uploading my application to Google Developer Console and got the error...
You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK and upload it again.
Error states you have to bind the application using android sdk.

Solution
Step 1: Copy your .apk file in Tools folder of Android SDK. Tools folder in my computer.(i.e: E:\Software\adt-bundle-windows-x86\adt-bundle-windows-x86\sdk\tools)

Step 2: Open command prompt and navigate to folder tools.

Step 3: Execute following command zipalign.exe -v 4 my.apk output.apk

Now you are ready to upload your .apk file to Google Developer Console.



0 comments :