node-bundletool
v1.0.0
Published
A Node.js wrapper for Google's [bundletool](https://developer.android.com/studio/command-line/bundletool).
Readme
node-bundletool
A Node.js wrapper for Google's bundletool.
Introduction
This package provides a convenient way to install and run bundletool using Node.js. It wraps the bundletool executable jar and automatically checks for a Java runtime environment before execution.
Prerequisites
- Node.js: Installed on your system.
- Java: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be installed and available in your system's PATH.
bundletoolrequires Java to run.
Installation
You can install this package globally using npm:
npm install -g node-bundletoolOr run it directly using npx:
npx node-bundletool <command>Usage
Once installed globally, you can use the bundletool command directly in your terminal. All arguments are passed directly to the underlying bundletool jar.
Check the version:
bundletool versionBuild an APK set from an app bundle:
bundletool build-apks --bundle=/path/to/app.aab --output=/path/to/app.apksInstall APKs to a connected device:
bundletool install-apks --apks=/path/to/app.apksFor a full list of commands and options, refer to the official bundletool documentation or run:
bundletool help