Similar to how iOS certificate is highlighted
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@xyfoo, any chance you can point me to docs that show how to sign an Android APK without downloading secure files? Looks like I've run into an issue with access to secure files, so a workaround would be nice :)
@pmullins-ewn, my observation with Xamarin.Android project is that you don't explicitly need a DownloadSecureFile task, and supply the variable name into the AndroidSigning task.
You can just directly supply the secure file name to the AndroidSigning task, and it would download the secure file as part of the task.
- task: AndroidSigning@3
inputs:
apkFiles: '**/*.apk'
apksignerKeystoreFile: MySecureFileNameInPipelineLibrary
apksignerKeystorePassword: '$(android.signing.keystore.password)'
apksignerKeystoreAlias: '$(android.signing.keystore.alias)'
apksignerKeyPassword: '$(android.signing.password)'
Neat, thanks for the quick response. I'll give that a go. My issues were related to some strange file authorization problems, so I'm not sure if this will work for me, but it does save me from that DownloadSecureFile whenever I do get it figured out. Thank you!
@xyfoo that actually circumvented my issue! thanks a million :)
This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.
Most helpful comment
@pmullins-ewn, my observation with Xamarin.Android project is that you don't explicitly need a
DownloadSecureFiletask, and supply the variable name into theAndroidSigningtask.You can just directly supply the secure file name to the
AndroidSigningtask, and it would download the secure file as part of the task.