Can someone please for the love of god tell me how to zip align my apk file so I can finally submit this thing! Where in the world am I supposed to enter this command. Talk to me like I am 5 please.
To align infile.apk and save it as outfile.apk:
zipalign [-f] [-v] <alignment> infile.apk outfile.apk
To confirm the alignment of existing.apk:
zipalign -c -v <alignment> existing.apk
The <alignment> is an integer that defines the byte-alignment boundaries. This must always be 4 (which provides 32-bit alignment) or else it effectively does nothing.
-f : overwrite existing outfile.zip
-v : verbose output
-c : confirm the alignment of the given file