【发布时间】:2016-01-10 08:22:23
【问题描述】:
我将 gerrit 与 Google Play Android Publisher Plugin 一起使用,其方式在插件页面上的插件教程中描述。 .apk 已签名,如果我通过 google play gui 上传它,它会很好地上传。
当我尝试使用 gerrit 上传时,出现错误。日志如下:
Upload failed: The Google Service Account credential 'GooglePlayAPICredentials' has not been configured correctly.
Update the credential, ensuring that the required data have been entered, then try again
- No changes have been applied to the Google Play account
Build step 'Upload Android APK to Google Play' marked build as failure
Finished: FAILURE
对于谷歌播放凭据,我使用 p12 密钥和看起来像的电子邮件
serviceaccountforgerrit@api-64****-*****8.iam.gserviceaccount.com
以及我在页面上生成密钥时获得的密钥文件,如下所示:
https://console.developers.google.com/permissions/serviceaccounts?project=api-64****-*****8
我创建了一个新的服务帐户,选中了“提供新的私钥”复选框并选择了 P12 单选按钮。 我还在 google play 开发者控制台 api 设置中授予了访问此密钥的权限
https://play.google.com/apps/publish/?dev_acc=*******#ApiAccessPlace
服务帐户拥有所有可能的权限。 可能是什么问题?
【问题讨论】:
-
你找到解决办法了吗?
标签: google-play gerrit android-build