Can anyone tell me how to zipalign my .apk file with using eclipse. I have made my .apk file by giving command like,
Right Click on Project Folder
Click on "Android Tools" option from menu.
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.
Ans: Copy the *. apk file into SDK->platform-tools directory (where you'll find adb.exe file), navigate to that directory through command line on your windows PC. If you want to view the source code of the *.
zipalign is a zip archive alignment tool. It ensures that all uncompressed files in the archive are aligned relative to the start of the file. This allows those files to be accessed directly via mmap(2) , removing the need to copy this data in RAM and reducing your app's memory usage.
zipalign has moved to be part of the "build tools", and can be found in the various build-tools/ directories in your Android SDK installation.
If you did what you described above then Eclipse has already zipaligned your apk for you. You can't zipalign an already zipaligned package
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With