https://github.com/google/bundletool
Bundletool is a command-line tool to manipulate Android App Bundles
https://github.com/google/bundletool
android android-app-bundle android-development android-testing
Last synced: 13 days ago
JSON representation
Bundletool is a command-line tool to manipulate Android App Bundles
- Host: GitHub
- URL: https://github.com/google/bundletool
- Owner: google
- License: apache-2.0
- Created: 2018-05-04T07:24:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T12:00:45.000Z (2 months ago)
- Last Synced: 2025-04-23T17:13:50.723Z (13 days ago)
- Topics: android, android-app-bundle, android-development, android-testing
- Language: Java
- Homepage: https://g.co/androidappbundle
- Size: 10.3 MB
- Stars: 3,691
- Watchers: 57
- Forks: 395
- Open Issues: 84
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# bundletool
Bundletool is a tool to manipulate Android App Bundles and Android SDK Bundles.
The **Android App Bundle** is a
[format](https://developer.android.com/guide/app-bundle/app-bundle-format) for
publishing Android apps in app distribution stores such as Google Play.The **Android SDK Bundle** is a
[format](https://developer.android.com/studio/command-line/bundletool#asb-format)
for publishing
[runtime-enabled SDKs](https://developer.android.com/design-for-safety/privacy-sandbox/sdk-runtime)
to SDK distribution platforms such as Google Play SDK Console.Bundletool has a few different responsibilities:
* **Build an Android App Bundle** from pre-compiled modules of a project.
* **Generate an APK Set archive** containing APKs for all possible devices.
* **Extract APK(s)** from the APK Set compatible with a given device.
* **Install APK(s)** from the APK Set compatible with a connected device.
* **Extract device spec** from a device as a JSON file.
* **Add code transparency** to an Android App Bundle. Code transparency is an
optional code signing mechanism.* **Verify code transparency** inside an Android App Bundle, APK files or an
application installed on a connected device.* **Build an Android SDK Bundle** from a pre-compiled module of a project.
* **Generate an APK Set archive** containing the SDK APKs for all devices.
* **Generate an
[Android SDK archive](https://developer.android.com/studio/command-line/bundletool#asar-format)**,
a Maven-friendly representation of an Android SDK Bundle.Read more about the App Bundle format and Bundletool's usage at
[g.co/androidappbundle](https://g.co/androidappbundle)Documentation of bundletool commands can be found at:
https://developer.android.com/studio/command-line/bundletool## Releases
Latest release: [1.18.1](https://github.com/google/bundletool/releases)