HomeFeaturesGuidesToolsGetting StartedPricingDictionariesBlogFeedback
AAB Install

How to Install an AAB File on an Android Device: bundletool, APKS, and Signing

A practical guide for developers who have an Android App Bundle and want to test it on a phone, covering why adb install app.aab fails, how bundletool creates APKS files, and how ADB Pro can simplify the workflow.

11 min read

You cannot install an .aab file directly on an Android phone. An Android App Bundle is a publishing format. For local testing, convert it into an .apks archive or device-specific APK splits with bundletool, sign the output correctly, then install the generated APK set on the target device.

Quick Answer

If adb install app-release.aab fails, nothing is wrong with ADB. Android devices install APK files, not raw AAB files. The usual local workflow is: build the AAB, run bundletool build-apks, then run bundletool install-apks against a connected device.

AAB local install workflow
java -jar bundletool.jar build-apks \ --bundle app-release.aab \ --output app-release.apks \ --ks release.jks \ --ks-key-alias release java -jar bundletool.jar install-apks \ --apks app-release.apks \ --device-id emulator-5554

Why AAB Files Cannot Be Installed Directly

An AAB contains code, resources, native libraries, density assets, language splits, and module metadata. Google Play or bundletool uses that information to generate the APKs that match a device. That is why the file is useful for publishing but not directly installable by the Android package manager.

Manual Steps

  1. Build a release or staging .aab from Android Studio, Gradle, or CI.
  2. Choose the signing key that matches the install scenario.
  3. Run bundletool build-apks to generate an .apks archive.
  4. Connect the target device and check adb devices.
  5. Run bundletool install-apks for that device.
  6. Launch the app and test login, networking, billing, deep links, push, analytics, and startup paths.

Common Mistakes

How ADB Pro Helps

AAB Tools is the free focused plugin for converting AAB files to APKS and installing them from a JetBrains IDE. In the full ADB Pro workflow, AAB Tools works together with Signing Tools, Device Manager, Bundle Inspector, and Release Readiness so the local install test is connected to the same checks used before publishing.

FAQ

Can I convert AAB to APK?

Yes, but the safer term is converting AAB to APKS or APK splits. A universal APK is possible for some tests, but device-specific APKS is closer to real distribution.

Do I need bundletool?

Yes. Bundletool is the official tool for generating APK sets from Android App Bundles.

Why does install-apks fail with multiple devices?

When more than one device is connected, pass a specific --device-id so bundletool installs the correct split set.

Related Guides

Handle This Workflow Faster with ADB Pro

Run Android release checks, signing, AAB handling, R8 rules, and resource obfuscation without leaving your JetBrains IDE.

View PricingStart Free Trial