Google Play 发布失败并显示“请求路径中的跟踪名称和请求正文必须匹配”
Posted
技术标签:
【中文标题】Google Play 发布失败并显示“请求路径中的跟踪名称和请求正文必须匹配”【英文标题】:Google Play publishing fails with "Track names in request path and request body must match" 【发布时间】:2020-06-24 14:00:03 【问题描述】:我正在使用 Codemagic 构建 apk 并将其发布到 Google Play 的内部轨道,3 月 10 日它运行良好,但今天我得到了这个:
Publishing
35s
== Gathering artifacts ==
== Publishing artifacts ==
Publishing artifact app.apk
Publishing artifact app-prod-armeabi-v7a-release.apk
Publishing artifact app-prod-x86_64-release.apk
Publishing artifact app-prod-arm64-v8a-release.apk
Publishing artifact mapping.txt
Publishing app.apk, app-prod-armeabi-v7a-release.apk, app-prod-x86_64-release.apk, app-prod-arm64-v8a-release.apk to Google Play
Published app.apk to track internal
Published app-prod-armeabi-v7a-release.apk to track internal
Publishing proguard mapping mapping.txt to Google Play
Published app-prod-x86_64-release.apk to track internal
Publishing proguard mapping mapping.txt to Google Play
Published app-prod-arm64-v8a-release.apk to track internal
Publishing proguard mapping mapping.txt to Google Play
Google Play responded with: Track names in request path and request body must match.
Build failed :|
Publishing failed :|
Google Play responded with: Track names in request path and request body must match.
【问题讨论】:
【参考方案1】:我使用了 PlayStorePublisher 工具,今天我开始收到同样的错误。 https://github.com/rocel/playstorepublisher 我认为 Google 正在对发布 API 进行一些更改。
【讨论】:
这也是正确的,我们通过在 google play api 请求正文中发送曲目名称来修复它【参考方案2】:不幸的是,Codemagic 中存在内部错误。目前已解决,一切正常。
【讨论】:
以上是关于Google Play 发布失败并显示“请求路径中的跟踪名称和请求正文必须匹配”的主要内容,如果未能解决你的问题,请参考以下文章
Android 工作室 - Google Play 游戏服务登录失败