bundletool
bundletool copied to clipboard
Incorrect timestamp when unzipping universal apk
Describe the bug
When using command bundletool.jar build-apks
the output zip, containing the apk, will provide an apk with the timestamp set in 1981.
Bundletool version(s) affected Version: All
Stacktrace Copy all of the output of the command, including the stacktrace if visible.
To Reproduce
- Run
java -jar ./bundletool.jar build-apks --bundle="./resources/example.aab" --output="./bundletool_temp/output.apks" --mode=universal
- Extrack the universal apk
- Check timestamp
Expected behavior Expected to have at current date or at least the date the aab was created.
Known workaround
You can use touch
command to update the Modified date.
![image](https://user-images.githubusercontent.com/4130008/219429529-e8a3a52b-0510-4df0-a2b7-94c9589675f5.png)