如何使用Azure管道对Android应用程序捆绑包进行签名 [英] How to Sign Android app Bundle with azure pipeline

查看:50
本文介绍了如何使用Azure管道对Android应用程序捆绑包进行签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用azure管道对Android App Bundle进行签名,

How to Sign Android App Bundle with the azure pipeline,

该文档仅适用于签名APK https://docs.microsoft.com/zh-CN/azure/devops/pipelines/tasks/build/android-signing?view=azure-devops

The documentation is available only signing APK https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/android-signing?view=azure-devops

当我尝试使用上述任务对aab进行签名时,我遇到了错误消息

when I try to sign aab with the above task I am getting below error

错误:无法推断出最低API级别:APK不包含AndroidManifest.xml.请指定--min-sdk-version.

Error: Failed to deduce min API Level: APK does not contain AndroidManifest.xml. Please specify --min-sdk-version.

推荐答案

我在签名Android应用包时遇到了同样的问题,现在我们在 Azure Build Pipeline 而不是通过 jarsigner Azure Release管道中签署Android应用程序包.

I had same problem with signing the Android app bundle, Right now we fixed this issue with the signing app bundle in the Azure Build Pipeline instead of signing Android app bundle from the Azure Release pipeline through jarsigner.

这篇关于如何使用Azure管道对Android应用程序捆绑包进行签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆