Skip to main content

Tool that uses adb to check if apps on a device are built Android App Bundles

Project description

aabc: Android App Bundle Checker

aabc is a utility that checks whether Android apps on a device were built using Android App Bundles (AAB) or whether they're monolithic APKs. This script calls ADB to gather this information and can output lists of apps built with AAB.


Android Debug Bridge (adb) is required to run aabc. ADB is a part of Android SDK Platform-Tools.


If you find that the usage instructions below are unclear or inaccurate, please open an issue.

Connecting Android Device(s) with adb

  1. Enable developer options and USB debugging on your Android device(s).
  2. Connect Android device(s) to your computer via USB.
  3. Run adb devices and note the serial of the target device (the output in the left column).
    • A pop-up may appear on your device asking you to allow the connection. Allow it.

Running aabc

Specify the devices you want to check by passing their serials (from step 3 above) to aabc:

# Check device with serial "FOBAR1234"
aabc FOOBAR1234

# Check multiple devices by passing multiple serials

By default, aabc will list apps that are built using Android App Bundles. This preference can be specified explicitly by passing -a (this does the same as the above example):

aabc -a FOOBAR1234

You can do the opposite and output apps that don't use Android App Bundles (monolithic apps) with -m:

aabc -m FOOBAR1234

To filter out system apps that you might not care about checking, pass -3 to look at third-party apps only:

aabc -3 FOOBAR1234

See an overview of available options and usage information:

$ aabc -h

usage: aabc [-h] [-3] [-a | -m] device_serial [device_serial ...]

Output list of Android apps installed on devices that use Android App Bundles
(default) or are monolithic.

positional arguments:
  device_serial         Serial(s) of device(s) to check (from "adb devices"

optional arguments:
  -h, --help            show this help message and exit
  -3, --third-party-apps-only
                        Only check if third-party apps use Android App Bundles
  -a, --output-aab      Output list of packages that use Android App Bundles
  -m, --output-monolithic
                        Output list of packages that are monolithic (not using
                        Android App Bundles)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aabc, version 0.1.2.post1
Filename, size File type Python version Upload date Hashes
Filename, size aabc-0.1.2.post1-py3-none-any.whl (16.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aabc-0.1.2.post1.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page