zipalign-java
zipalign-java copied to clipboard
zipalign implemented as a java library with 0 deps
Having tests would ensure zipalign-java works as expected. Lately many bugs have been occurring due to reckless merges by myself. One question though: what kinds of tests should we do?...
The current API of zipalign is very minimal and a bit too specific (the `RandomAccessFile` arg). Honestly the original API looks good as-is, and is perfect for its main goal...
Can't zipalign this file: [thequestion.zip](https://github.com/user-attachments/files/22853538/thequestion.zip) ```text Verifying alignment of thequestion_align.apk (4)... 49 AndroidManifest.xml (OK - compressed) 2359 asset-delivery.properties (OK - compressed) 2443 classes.dex (OK - compressed) 1794063 core-common.properties (OK -...
When used under Android 15, it throws the error: java.io.IOException: close failed: EIO (I/O error). No such error occurs on versions below Android 15.
There are a few reasons that make me thing it should be completely removed. 1. It's just too slow. 2. Removing it will also remove com.macfaq.io.LittleEndianInputStream, and com.macfaq.io.LittleEndianOutputStream 3. Removing...