【问题标题】:APK upload from jenkins failed - language is not associated从 jenkins 上传 APK 失败 - 语言未关联
【发布时间】:2017-03-01 13:12:26
【问题描述】:

我有一个配置为将 APK 上传到 Play Market 的 Jenkins 作业。它会产生一个错误日志:

Assigning APK(s) to beta release track...

The beta release track will now contain the APK(s): 164

Applying changes to Google Play...

Upload failed: Tried to set recent changes text for APK version 164 for language de-DE.
Language is not associated with the app.

No changes have been applied to the Google Play account

ERROR: Step ‘Upload Android APK to Google Play’ failed: APK upload failed
Finished: FAILURE

如何解决这个问题?

更新:我已在 Google Play 上将 DE 添加到应用程序的语言中(是否应该将此语言与应用程序“关联”?)。

现在 Jenkins 的工作给了我这个错误:

Applying changes to Google Play...
Upload failed: org.jenkinsci.plugins.googleplayandroidpublisher.PublisherApiException: com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
{
  "code" : 500,
  "message" : null
}
    at org.jenkinsci.plugins.googleplayandroidpublisher.AbstractPublisherTask.call(AbstractPublisherTask.java:36)
    at hudson.FilePath.act(FilePath.java:1083)
    at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.publishApk(ApkPublisher.java:313)
    at org.jenkinsci.plugins.googleplayandroidpublisher.ApkPublisher.perform(ApkPublisher.java:183)
    at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
    at hudson.model.Build$BuildExecution.post2(Build.java:185)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
    at hudson.model.Run.execute(Run.java:1753)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:404)
Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
{
  "code" : 500,
  "message" : null
}
    at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
    at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
    at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:312)
    at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1049)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
    at org.jenkinsci.plugins.googleplayandroidpublisher.ApkUploadTask.execute(ApkUploadTask.java:146)
    at org.jenkinsci.plugins.googleplayandroidpublisher.ApkUploadTask.execute(ApkUploadTask.java:35)
    at org.jenkinsci.plugins.googleplayandroidpublisher.AbstractPublisherTask.call(AbstractPublisherTask.java:33)
    ... 13 more

- No changes have been applied to the Google Play account
ERROR: Step ‘Upload Android APK to Google Play’ failed: APK upload failed
Finished: FAILURE

在这种情况下有什么帮助?

发现herehere也报过类似问题。

【问题讨论】:

  • 上传失败:尝试为语言 de-DE 的 APK 版本 164 设置最近更改文本。 语言未与应用关联
  • 那么,如何将语言与应用程序关联起来?

标签: android jenkins google-play jenkins-plugins


【解决方案1】:

发生了一些神奇的事情,错误 #500 消失了,apk 现在被 Google Play 接受了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-12-20
    • 1970-01-01
    • 2017-12-02
    • 2020-12-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多