How to zipalign the .apk file using eclipse?
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.
Solution 1:
If you did what you described above then Eclipse has already zipaligned your apk for you. You can't zipalign an already zipaligned package
Solution 2:
I think this will help you
D:\android-sdk\android-sdk\tools>zipalign -f -v 4 "C:\Users\name\Desktop\project_name\projectname_signed.apk" "C:\Users\name\Desktop\project_name\projectname__zipaligned.apk"
Solution 3:
Using the steps given, Eclipse will do zipalign
for you.