gpt4 book ai didi

android - Azure devops 管道构建和部署我的原生 Android 应用程序 Google Play 商店或 App Center 作为 App Bundle

转载 作者:行者123 更新时间:2023-12-04 23:43:44 27 4
gpt4 key购买 nike

我需要设置 Azure 一个 devops 管道来构建我的原生 Android 应用程序并将其作为 App Bundle 部署到 Google Play 商店或 App Center。
我可以想办法部署一个 apk,但需要帮助来部署应用程序包(.aab)。任何帮助,将不胜感激。

最佳答案

将 apkFiles 更改为 **/*.aab并通过算法,-sigalg SHA256withRSA -digestalg SHA-256作为 jarsignerArguments。
像这样:

- task: AndroidSigning@2
inputs:
apkFiles: '**/*.aab'
jarsign: true
jarsignerKeystoreFile: 'pathToYourKeystoreFile'
jarsignerKeystorePassword: '$(jarsignerKeystorePassword)'
jarsignerKeystoreAlias: '$(yourKeystoreAlias)'
jarsignerKeyPassword: '$(jarsignerKeyPassword)'
jarsignerArguments: '-sigalg SHA256withRSA -digestalg SHA-256'
zipalign: true

关于android - Azure devops 管道构建和部署我的原生 Android 应用程序 Google Play 商店或 App Center 作为 App Bundle,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63810395/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com