Sources checked 2026-11-17

APK, APKS and XAPK explained

Understand single APKs, app bundles, split installs and the limits of third-party archive formats.

Identify what you have

Identify what you have: reference table
FormatMeaningPractical consequence
APKAn Android application package; may be a standalone APK or one split of a larger install.A standalone compatible APK can be installed directly. A split requires the matching set.
AABAndroid App Bundle publishing artifact.It is not directly installed as an APK; bundletool or a distribution service generates APKs.
APKSbundletool uses an APK set archive; other tools may use the same extension differently.Use the producing tool’s documented format and instructions.
XAPKA third-party archive convention, not an Android platform package format.Contents and installation steps vary by provider; never assume archives are interchangeable.

Use an official bundletool APK set

For a trusted AAB and a compatible Java runtime, obtain bundletool from its official release linked in the Android documentation. This builds an APK set using default signing behavior; a debug-signed build generally cannot update an app signed by the publisher. It then installs the appropriate splits on a connected authorized device.

Developers needing a production-signed set must follow bundletool’s signing options and protect their signing key.

java -jar bundletool.jar build-apks --bundle=app.aab --output=app.apks
java -jar bundletool.jar install-apks --apks=app.apks

Install a known matching split set

If the distributor explicitly provides the required base and matching configuration or feature splits as APK files, Android Debug Bridge can install them together. Substitute the exact filenames from the same release and signing identity. The example filenames are illustrative.

  • The required set depends on the app and device; missing splits may cause installation or runtime failure.
  • Do not feed an APKS or XAPK archive itself to adb install-multiple, and do not assume an arbitrary third-party archive is compatible with bundletool.
  • Treat extra files in third-party archives as untrusted; follow the publisher’s instructions and prefer an official distribution route when available.
adb install-multiple base.apk split_config.arm64_v8a.apk split_config.en.apk

Version and device considerations

App bundles target device-specific APKs based on characteristics such as ABI and language. Android version, the installed app’s signing identity, and device policy still apply. The commands shown are documented workflows; no physical device test is claimed.

Frequently asked questions

Can I rename an XAPK to APK?

No. Renaming does not convert an archive into an installable APK or select the correct split files.

Is every APKS produced by bundletool?

No. An extension alone does not identify its producer or guarantee compatibility.

Sources and checks