I am automating beta distribution (crashlytics). But for crashlyticsUploadDistributionRelease gradle task not able to set apk file path as $BITRISE_SIGNED_APK_PATH.
Step1:- Gradle Runner step:- which does gradlew assembleRelease.
(And copy ./app/build/outputs/apk/release/app-release-unsigned.apk to /bitrise/deploy/app-release-unsigned.apk)
Step2:- Sign APK Step:- Log says “The Signed APK path is now available in the Environment Variable: BITRISE_SIGNED_APK_PATH (value: /bitrise/deploy/app-release-bitrise-signed.apk)”
Step 3:- Gradle Runner step:- crashlyticsUploadDistributionRelease
Uploading /bitrise/src/app/build/outputs/apk/release/app-release-unsigned.apk to Crashlytics…
WARN - Crashlytics halted compilation because it can’t distribute the unsigned APK: /bitrise/src/app/build/outputs/apk/release/app-release-unsigned.apk
Please help to input the BITRISE_SIGNED_APK_PATH to Step 3:- Gradle Runner step:- crashlyticsUploadDistributionRelease