Skip to main content

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.

Requirements

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

Usage

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
aabc FOOBAR1234 HELLOWORLD12

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"
                        output)

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)

Metadata

Release files for aabc 0.1.2.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aabc 0.1.2.post1
File Size Uploaded Provenance
aabc-0.1.2.post1.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aabc 0.1.2.post1
File Interpreter ABI Platform
aabc-0.1.2.post1-py3-none-any.whl Python 3 none any Details

Total release size: 20.6 kB

Release files / aabc-0.1.2.post1.tar.gz

Download URL aabc-0.1.2.post1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a318a1bf443e788d19c8b4e5d22b9c3c6dc61374319cb6a72d00b608e49ec783
BLAKE2b-256 checksum
How to use checksums
a674c3945d821f746b747bb5dd4af90799d6c7f3cf955f8178e4add94da10a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

Release files / aabc-0.1.2.post1-py3-none-any.whl

Download URL aabc-0.1.2.post1-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
639e5553cdedcaacdca210b88dd5d98a1c6f4940acba9e9041a16071dd3cf446
BLAKE2b-256 checksum
How to use checksums
77770106c980a1385ff42fe5671a3d3c1f4043bbff9871f48e04c9f2d9a2d9e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

Security for aabc 0.1.2.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page