bundletool icon indicating copy to clipboard operation
bundletool copied to clipboard

Incorrect timestamp when unzipping universal apk

Open MartinGonzalez opened this issue 1 year ago • 4 comments

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

MartinGonzalez avatar Feb 16 '23 16:02 MartinGonzalez