Package: zipalign (21-4)
Links for zipalign
Download Source Package android-platform-build:
- Homepage [android.googlesource.com]
Align zip/jar/apk along byte boundaries
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.
Packages providing zipalign
- Google build tools for Android (aapt, aidl, dexdump, dx)
Other Packages Related to zipalign
- dep: android-libcutils
- Android utils library for C
- dep: android-liblog
- Android logging library
- dep: android-libutils
- Android utility library
- dep: libc6 (>= 2.14) [amd64]
- GNU C Library: Shared libraries
also a virtual package provided by libc6-udeb
- dep: libc6 (>= 2.7) [i386]
- dep: libgcc1 (>= 1:4.1.1)
- GCC support library
- dep: libstdc++6 (>= 4.1.1)
- GNU Standard C++ Library v3
- dep: zlib1g (>= 1:1.1.4)
- compression library - runtime