[Android] Sign APK Step Error: unsupported protocol scheme "". Fail using existing release .keystore file

@koral Thanks for your help! I got it to work. I missed that among all the documentation places.
I think it only works without the ", I first included it as you wrote it, but that lead to the following error:

Failed to download keystore, error: [parse “file:///root/keystores/pvlse_release.keystore”: first path segment in URL cannot contain colon]

Would be great to have an example sign-step config added to Android code signing using the Android Sign Step - Bitrise Docs

Using the name from the already available snippet:

- file-downloader:
   inputs:
   - source: $BITRISEIO_ANDROID_KEYSTORE_URL
   - destination: "$HOME/keystores/my_keystore.jks"

The additional info would just need to be:

- sign-apk:
   inputs:
   - keystore_url: file://$HOME/keystores/my_keystore.jks
2 Likes