Skip to main content

Bundle Universal Apk

The Bundle Universal Apk step creates a universal APK from an AAB file.

For additional details, please refer to the Bundletool documentation.

Prerequisites

The workflow steps that need to be executed before running the Bundle Universal Apk workflow step, along with their respective reasons, are listed in the table below.

Prerequisite Workflow StepDescription
Android BuildThis step is necessary to generate the AAB app that will be converted to an APK.
Android SignIf you intend to use a signed app, this step must be executed beforehand to process the output. If your app is already signed in the build step, you can skip this step.
caution

If a step other than the Android Build or Android Sign step is used to build or sign the app, then the Bundle Universal Apk step depends on this step.

Input Variables

For each component, specific input variables are required for its operation on your system. The input variables necessary for the Bundle Universal Apk are as follows:

Variable NameDescriptionStatus
$AC_BUNDLETOOL_VERSIONSpecifies the version of Bundletool to install. The default value is 1.11.2. To install a different version, please refer to this document.Required
$AC_SIGNED_AAB_PATHThe optional path of the signed AAB file to convert the APK. If this step runs after the Android Sign step, the variable will be automatically populated. If the signing takes place in the build step and you want to directly enter the APK you received from the Android Build step here, you can change the variable to $AC_APK_PATH.Required
$AC_ANDROID_KEYSTORE_PATH(Autogenerated) The path to the keystore file selected via the build Configuration. For more details, please refer to the Android Keystores documentation.Required
$AC_ANDROID_KEYSTORE_PASSWORD(Autogenerated) The password for the keystore file, generated according to the build Configuration. For more details, please refer to the Android Keystores documentation.Required
$AC_ANDROID_ALIAS(Autogenerated) The alias for the Android Keystore, generated according to the build Configuration. For more details, please refer to the Android Keystores documentation.Required
$AC_ANDROID_ALIAS_PASSWORD(Autogenerated) The password for the Android Keystore alias, generated according to the build Configuration. For more details, please refer to the Android Keystores documentation.Required

Output Variables

The outputs that can result from the operation of this component are listed as follows:

Variable NameDescription
$AC_SIGNED_APK_PATHPath of the signed APK file.

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-bundletool-component