尝试构建时使用应用程序中心当前出现此错误:

[command]/usr/bin/jarsigner -keystore /Users/vsts/agent/2.136.1/work/1/s/.certs/keystore.jks -storepass *** -keypass *** -verbose -sigalg MD5withRSA -digestalg SHA1 -signedjar /Users/vsts/agent/2.136.1/work/1/s/android/app/build/outputs/apk/app-release.apk /Users/vsts/agent/2.136.1/work/1/s/android/app/build/outputs/apk/app-release.apk.unsigned ***
jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 11019 but got 11226 bytes)
##[error]Error: /usr/bin/jarsigner failed with return code: 1
##[error]Return code: 1

任何想法如何解决这一问题?

最佳答案

构建成功,但是管道签名失败。在构建配置中, keystore 密码, key 别名或 key 密码的环境变量设置不正确。

关于android - 应用程序中心构建,错误:/usr/bin/jarsigner failed with return code: 1,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51518915/

10-09 03:50