I am getting this error for the zipAlign step. What is wrong here?
##[error]Error: The process '/usr/local/lib/android/sdk/build-tools/19.1.0/zipalign' failed with exit code 127
This is the relevant part in my pipeline
- task: AndroidSigning@2
inputs:
apkFiles: '**/*.apk'
jarsign: true
jarsignerKeystoreFile: 'production.keystore'
jarsignerKeystorePassword: '$(keystore_password)'
jarsignerKeystoreAlias: '$(keystore_alias)'
jarsignerKeyPassword: '$(keystore_password)'
zipalign: true
apksignerArguments: --out $(Build.SourcesDirectory)/app/build/outputs/apk/release/release.apk
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@MakhouT -- Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a few options where you might consider asking your question:
@WilliamAntonRohm I am having the same issue, I have added following step to my build pipelin
steps:
- task: AndroidSigning@3
inputs:
apkFiles: '**/*.apk'
apksign: true
apksignerKeystoreFile: 'android-signing-keystore'
apksignerKeystorePassword: $(signing_alias_psswd)
apksignerKeystoreAlias: $(signing_alias)
apksignerKeyPassword: $(signing_psswd)
apksignerArguments: --out $(Build.SourcesDirectory)/${{parameters.outFile}}
zipalign: true
And pipeline throws
##[error]Error: The process '/usr/local/lib/android/sdk/build-tools/19.1.0/zipalign' failed with exit code 127 .
When I flip zipalign: false it works properly.