Knowledge

Sign Android App

Parameters
Name Description
name Required String The name of the action.
trigger_time Required String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type Required String The type of the action. Should be set to ANDROID_SIGN.
local_path Required String The path to the generated .apk file.
application_name Required String The name of the signed APK file.
key_path Required String The path to the authorization key file.
build_tool_version Required String The version of the Android Build Tools.
keystore_password Required String The keystore password.
output_dir String The directory in which the signed APK will be stored.
key_alias String The key alias name.
key_password String The key password.
trigger_condition String Defines when the build action should be run. Can be one of ALWAYS, ON_CHANGE or ON_CHANGE_AT_PATH.
trigger_condition_paths String[] Required when trigger_condition is set to ON_CHANGE_AT_PATH.
Example
actions:
  - action: "Sign Android App"
    type: "ANDROID_SIGN"
    trigger_time: "ON_EVERY_EXECUTION"
    local_path: "my-app-unsigned-aligned.apk"
    output_dir: "out"
    application_name: "my-app-release.apk"
    key_path: "my-release-key.jks"
    key_password: "${key_password}"
    keystore_password: "${keystore_password}"
    build_tool_version: "26.0.2"

Get started now

14 days of unlimited trial. No credit card required.