Bundletool Versions Save

Bundletool is a command-line tool to manipulate Android App Bundles

1.13.1

1 year ago

Bugfixes

  • build-apks command: bugfixes for supporting runtime-enabled SDK dependencies.
  • extract-apks command: install-time asset modules are now extracted regardless of the requested module names.

1.13.0

1 year ago

What's new

  • Collapse resource name optimizations which reduces size of generated APKs by removing resource names from resources.arsc. Resources with collapsed names are only accessible by their ids. Developers may enable these optimizations in their BundleConfig. Configuration allows to exclude certain resources and/or resource types.
{
  "optimizations": {
    "resourceOptimizations": {
      "collapsedResourceNames": {
        "collapseResourceNames": true,
        "deduplicateResourceEntries": true,
        "noCollapseResourceTypes": ["layout", "mipmap"]
      }
    }
  }
}

Bugs fixed

  • Inject signature mode of adding code transparency fails with incompatible version of bundletool dex #304

1.12.1

1 year ago

Bugs fixed

  • Restored JRE 8 support which was accidentally broken in 1.12.0 #303

1.12.0

1 year ago

What's new

  • Variant with uncompressed DEX files is enabled by default for Android S+ devices. You can opt-out with an option in the BundleConfig:
{
  "optimizations": {
    "uncompressDexFiles": {
      "enabled": false
    }
  }
}

or by including special marker file res/xml/uncompressed_dex_opt_out.xml in the base module of your Android App Bundle.

  • Enhanced support for runtime-enabled SDK dependencies in build-apks command for Android S devices and below.
  • Added SDK_RUNTIME dimension to get-size command.
  • Code transparency enhancements:
    • additional flag --allow-shared-user-id in add-transparency command allows to add code transparency to applications with sharedUserId;
    • dex files used in archived APK are included into code transparency file.
  • Archived apps:
    • added icon treatment for archived apps to make it easier for users to distinguish them from fully installed apps;
    • improved startup behaviour of archived apps.

Other changes

  • Upgraded protobuf and guava libraries.

1.11.2

1 year ago

What's new

  • Added enhancements and bugfixes to bundletool commands that support Android SDK Bundle and Android SDK Archive experimental formats.

1.11.1

1 year ago

What's new

  • Support for custom set of supported ABIs in APEX bundles.
  • Option to have uncompressed dex files on Android S+ devices (previously Android Q+ was the only option).

Bugs fixed

  • Baseline Profile missing from Universal Apk #295
  • install-multi-apks does not work correctly on Windows

1.11.0

1 year ago

What's new

  • Added support for Android SDK Bundles and Android SDK Archives, experimental formats used to publish and distribute runtime-enabled SDKs to SDK distribution channels. You can find more details in the documentation of bundletool commands here.

1.10.0

2 years ago

What's new

  • Added support for 7-zip's implementation of deflate algorithm for APKs compression.
  • With this release all App Bundles built will have Store Archival enabled by default. Archival is a new App Bundle feature that in the future will allow users with low storage to effectively manage their app space, if supported by the store. You can opt-out with a new option in the BundleConfig:
{
  "optimizations": {
    "storeArchive": {
      "enabled": false
    }
  }
}

Other changes

  • R8/D8 library is upgraded to the latest (3.3.28) version.

1.9.1

2 years ago

What's new

  • Support for certificate chains in add-transparency command.

Bugs fixed

  • Intent filter elements are not merged properly between feature modules and base modules #273
  • Installation of apks from aab with --local-testing flag fails when multiple emulators are connected #264

1.9.0

2 years ago
  • Added improvements and bug fixes for the ARCHIVE build mode. Keep an eye out for more information on the Android Developers blog soon.