I am using gerrit with the Google Play Android plugin for publishers as described in the plugin tutorial on the plugin page. .apk is signed, and if I download it via google play gui, it will load well.
When I try to download it using gerrit, I get an en error. Register below:
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
For Google Play credentials, I use the p12 key with an email address that looks like
serviceaccountforgerrit@api-64 ****-*****8.iam.gserviceaccount.com
and the key file that I received when generating the key on the page, which looks like this:
https://console.developers.google.com/permissions/serviceaccounts?project=api-64****-*****8
I created a new service account with the option "Finish a new private key" and the P12 camera was selected. I also granted access to this key in the api settings of the Google Play Developer Console
https://play.google.com/apps/publish/?dev_acc=*******
The service account has all possible permissions. What could be the problem?
source share