Google Api Error: forbidden: APK is not a valid ZIP archive while upload APK to playstore via API

Google Api Error: forbidden: APK is not a valid ZIP archive while upload APK to playstore via API

今天我们的 Azure 管道进程无法将 APK 上传到 Google Play 商店,在 upload_to_play_store 中出现以下错误:

Found main APK to upload: D:/a/r1/a/Mobile App Builder/drop/apk/release/app-release-unsigned.apk 
APK is not a valid ZIP archive while upload APK to playstore via API

我正在使用 Google 播放 - 发布管道步骤。 版本信息:ms-vsclient.google-play.google-play-release.GooglePlayRelease@3

自上次成功更新构建以来,代码库没有任何变化,可能 Google 在他们的 API 方面发生了一些变化。

Google Api Error: forbidden: APK is not a valid ZIP archive while upload APK to playstore via API

这是 Google 方面的问题。此问题已在十多个小时前解决(截至我的 post 回答)。

目前,我可以从 Azure devops 成功上传我们的 APK。

请检查您是否还有此问题。

如果您仍然遇到此问题,请免费告诉我。或者您可以重新打开工单:Issues 16721.