Closed AlexandreRoba closed 3 years ago
Are you sure the service account's private key file that is uploaded to Bitrise is correct? Maybe Bitrise still has credentials to your first app, and it's trying to upload the artifact to the wrong Play Store app.
The key file is valid as far as I can tell cause I haven't change it and it still works for the first app. Do I have to regenerate a new key If I change the service account access? This would be weird and illogical. The only operation I have done on the service account is adding it full access to the new google play app project. I have then reused the same json key that was already on bit rise for the first project. Nevertheless I will create a new key and try with this one to make sure this is not the problem.
@ofalvai thanks for the feedback. i confirm. i have generated a new key and uploaded the JSON and still getting the same error. I confirm the Service Account is provided full management rights on the Google play project. This is insane :(
@AlexandreRoba the next thing I would check is the package name of the final APK, just to be 100% sure it has the same package name as what you have configured in the Play Deploy step.
If you include a Deploy to Bitrise.io step in the workflow, then you can download the APK from the Apps & Artifacts tab on the build page, then verify its package name using Android Studio or similar tools.
I started having the same issue after updating from 3.0.2 to 3.3.0 I tried reverting to 3.0.2 and deleting cache but it still happens.
any more details ?
Hi @AlexandreRoba, @tokou,
Do you still experience this issue? I can't reproduce it in our environment and would be happy to track this case if you still are able to reproduce it.
I'm going to close this issue now. If you experience a similar issue in the future, please make sure to open a new issue for us with the details.
Troubleshooting
Useful information
Issue description
I'm getting the following error :
The error message does not make much sens. Previsouly I started by having a 404 Error when I was having indeed the wrong package name (But the wrong package name was showing on the error message. But Since I have recreated a new app(You cannot change the bundle id once the app has been uploaded the first time :() and uploaded the first package with the exact same bundle id as the one defined on the build. I can see on the play store the package name of the app which is exactly "YY.XXXXXXXXXXX.ZZZ" (Replaced by dummy name)
I try to follow the steps recommanded on this link: https://blog.bitrise.io/how-to-deploy-android-app-to-google-play-store [X] Created Service Account and provided Admin right on the APP [X] Manually uploaded a first version of the package to the play store (With the same package name) to internal testing [X] Configured the json service account on bitrise with Admin right on all apps of the google play account. Downloaded the JSON and uploaded it to Bitrise.
I have repeated those steps on the new app on the play store with the right package name.
Bitrise info
Steps to reproduce
simply run the build with workflow PRD_ANDROID on branch master