A common problem you may face when building multiple Android modules is managing all the Artifacts generated during your builds.
Public install pages
The Deploy to Bitrise.io Step generates a public install page for all Artifacts.
The default Environment Variables generated by Bitrise are:
$BITRISE_APK_PATH
: The relative path of the first generated APK of your build.$BITRISE_APK_PATH_LIST
: A list of every APK in your build.
If you want to use all APKs, you can do so with the $BITRISE_APK_PATH_LIST
.
If you would like to use a specific APK for a Step, like the Android Sign Step, you can:
Rearrange the order of your Android modules so that the APK you want becomes the first module.
Provide the absolute path to your APK. For example:
/bitrise/deploy/app-module-variant-unsigned.apk
Assign a custom Environment Variable to the absolute path of your APK.