mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
517 B
Plaintext
19 lines
517 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# zipalign
|
|
|
|
> Zip archive alignment tool.
|
|
> Part of the Android SDK build tools.
|
|
> More information: <https://developer.android.com/tools/zipalign>.
|
|
|
|
- Align the data of a Zip file on 4-byte boundaries:
|
|
|
|
`zipalign {{4}} {{path/to/input.zip}} {{path/to/output.zip}}`
|
|
|
|
- Check that a Zip file is correctly aligned on 4-byte boundaries and display the results in a verbose manner:
|
|
|
|
`zipalign -v -c {{4}} {{path/to/input.zip}}`
|