icon

Export Universal APK

Exports a universal APK from an Android App Bundle.

This Step generates a universal APK from an Android App Bundle, and exports it to the $BITRISE_APK_PATH Environment Variable so that the next Step or Ship add-on can pick it up. The Step also signs the generated APK with the keystore file you uploaded to the Code Signing tab or, if there was no keystore available, it signs the APK with a debug keystore file.

Configuring the Step

  1. Insert the Step after a build Step in your Workflow.
  2. The Android App Bundle path input field is automatically filled out by the output of the previous build Step.
  3. The Keystore URL is automatically filled out based on the uploaded keystore file on the Code Signing tab.
  4. If the keystore file is uploaded to the Code Signing tab, the Keystore alias, Keystore password, and Private key password inputs are automatically populated.
  5. The latest Bundletool version is set in the respective input. If, for any reason, you wish to use an older version, you can add it here, but make sure you use the correct version.

Troubleshooting

This Step works with Bundletool's latest version which is automatically set in the respective Step input. If you wish to switch to an older version, you have to add it manually. Make sure you add the correct version, otherwise the Step will fail.

Useful links

Related Steps

Similar steps

Generates an universal apk from an app bundle

This Step is used to search for test results and export them for the Deploy to Bitrise.io Step which can export the results to the Test Reports.

Export iOS and tvOS IPA from an existing Xcode archive

Export macOS Xcode archive