zipalign - Align zip/jar/apk along byte boundaries
||Debian 8 (Jessie)
||Debian Main amd64
|| 96 B
The purpose of zipalign is to ensure that all uncompressed data starts
with a particular alignment relative to the start of the file. This
allows those portions to be accessed directly with mmap() even if they
contain binary data with alignment restrictions.
Some data needs to be word-aligned for easy access, others might benefit
from being page-aligned. The adjustment is made by altering the size of
the "extra" field in the zip Local File Header sections. Existing data
in the "extra" fields may be altered by this process.
Compressed data isn't very useful until it's uncompressed, so there's no
need to adjust its alignment.
Alterations to the archive, such as renaming or deleting entries, will
potentially disrupt the alignment of the modified entry and all later
entries. Files added to an "aligned" archive will not be aligned.
By default, zipalign will not overwrite an existing output file. With the
"-f" flag, an existing file will be overwritten.
You can use the "-c" flag to test whether a zip archive is properly aligned.
- Update the package index:
# sudo apt-get update
- Install zipalign deb package:
# sudo apt-get install zipalign
2014-11-25 - Hans-Christoph Steiner <email@example.com>
android-platform-build (21-4) unstable; urgency=low
* include Breaks: and Replaces: to allow for proper upgrading
2014-11-18 - Hans-Christoph Steiner <firstname.lastname@example.org>
android-platform-build (21-3) unstable; urgency=low
* add versions to shlibs so dh can do dep detection
* link libhost with $(CXX) since it includes a .cpp file
* Standards-Version: 3.9.6
2014-10-01 - Hans-Christoph Steiner <email@example.com>
android-platform-build (21-2) unstable; urgency=low
* include pseudolocalize in libhost
2014-07-15 - Hans-Christoph Steiner <firstname.lastname@example.org>
android-platform-build (21-1) unstable; urgency=low
* Initial release. (Closes: #747926)