# google/bundletool

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

Repository: https://github.com/google/bundletool
Canonical: https://ross.abutalabs.com/products/bundletool
Homepage: https://g.co/androidappbundle
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, android-app-bundle, android-development, android-testing
Last push: 2025-12-15T20:10:39+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 57, release rhythm 49, longevity 100
- inputs: {"age_days": 3043, "days_push": 261, "days_rel": 261, "gap_med": 83.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4028, forks 427 (observed 2026-08-28T04:08:32.719255+00:00)

## What it is
Bundletool is Google's command-line tool for building, manipulating, and testing Android App Bundles (.aab) and Android SDK Bundles. It can generate APKs for all device configurations, install the right APKs on a connected device, and verify code transparency signatures.

## Use cases
- build an android app bundle from compiled modules
- generate apks from an aab file for local testing
- install split apks on a connected device matching its specs
- test app bundle delivery before uploading to google play
- extract device spec json from an android device
- verify code transparency signature in an aab or apk
- build an android sdk bundle for runtime-enabled sdks

## When to choose
- you publish Android apps to Google Play and need to build or validate .aab files
- you want to test split-APK installation locally without uploading to Play
- you need to generate device-specific APKs from an app bundle in CI
- you work with runtime-enabled SDKs and Android SDK Bundles

## When to avoid
- you only need to build APKs, not app bundles - Gradle alone suffices
- you need a GUI-based bundle workflow - Android Studio covers that
- you are not developing for Android at all

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, cli, developer-tools, testing
- domain: mobile-development, developer-tools, android-tools
- platform: cli, jvm, cross-platform
- tags: android-app-bundle, aab, apk, google-play, java, split-apks, code-transparency, android

## Member repositories
- google/bundletool (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.719255+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:52.317401+00:00, confidence not recorded.
  - readme: https://github.com/google/bundletool (fetched 2026-08-28T04:08:32.719255+00:00, sha 347eaa3fb420)
  - homepage: https://g.co/androidappbundle (fetched 2026-08-29T09:16:43.773260+00:00, sha 3722e3398a47)
  - site_page: https://developer.android.com/google/play/installreferrer (fetched 2026-08-29T09:16:43.787904+00:00, sha 0c36cc3c0414)
  - site_page: https://developer.android.com/blog/categories/documentation (fetched 2026-08-29T09:16:43.795398+00:00, sha ebdb8e262578)
  - site_page: https://developer.android.com/guide/app-bundle/app-bundle-format (fetched 2026-08-29T09:16:43.797823+00:00, sha 9c239bb1c34b)
  - site_page: https://developer.android.com/guide/app-bundle/faq (fetched 2026-08-29T09:16:43.800055+00:00, sha 3f12213579a7)
  - site_page: https://developer.android.com/training/wearables/versions/latest (fetched 2026-08-29T09:16:43.783280+00:00, sha 8396b9ab4b55)
  - site_page: https://developer.android.com/jetpack/androidx/releases/compose (fetched 2026-08-29T09:16:43.785556+00:00, sha 26b81706cc72)
  - site_page: https://developer.android.com/blog/categories/product-news (fetched 2026-08-29T09:16:43.790231+00:00, sha fdad7419318d)
  - site_page: https://developer.android.com/blog/categories/community (fetched 2026-08-29T09:16:43.792943+00:00, sha 3e0edecad2d7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
