Build and distribute your app to testers via Visual Studio App Center.
- An existing Visual Studio App Center project where your app is registered.
- Adding the API token as a Secret to your Bitrise app with the name
APPCENTER_API_TOKEN
. - If you want to deploy a release build, don't forget to set up code signing on Bitrise to build and sign the APK with your release key.
- Add the Android Build Step and set the following inputs:
- Build type: Set this to
apk
. - Variant: Use
release
,debug
, or one of your custom variants if you have any.
- Build type: Set this to
- If you build a release variant, add the Android Sign Step. You can skip this if you plan to deploy an unsigned debug variant.
- Add the AppCenter Android Deploy step and set the following inputs:
- API Token:
$APPCENTER_API_TOKEN
- Owner name: For example,
my-company
. - App name: For example,
my-app
. Use the App Center CLI to get the app name since it might not be the same as the one you can see on the Visual Studio App Center website. - Check out other options in the Step documentation or in the Workflow Editor.
- API Token:
- android-build@1:
inputs:
- variant: release
- build_type: apk
- sign-apk@1: {}
- appcenter-deploy-android@2:
inputs:
- owner_name: my-company
- app_name: my-app
- app_path: $BITRISE_APK_PATH
- api_token: $APPCENTER_API_TOKEN