New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Play APIs v1 and v2 are about to be retired #129
Comments
Hi @bandyguy, currently the 'release' and 'promote' tasks use V2, and 'rollout update' uses V3. It's on our roadmap to update the others (I'm confident we'll get to it before the deadline). |
Hi, @lkillgore, are you still on the road to meet the deadline? Thx in advance |
Hi @meteorra, yes, we're on track. Thanks! |
This work is complete. I had to bump the major version of the task, so you'll need to update your definitions to get the changes with the new API. |
I'm getting a different error with the new release GooglePlayRelease@3 ##[section]Starting: GooglePlayReleaseTask : Google Play - Release
|
Do you get that same error when you manually upload your APK using the google play console? Does it happen when you use the '2.*' version of the task? It seems that you're running into this issue, which shouldn't be related to the update of the task. (FWIW, it looks like the requirement started to be enforced on August 1st.) |
No on the console. When I use @2, I get ##[error]Error: Error in edits.commitAsync(): {"cause":{"code":403,"errors":[{"domain":"androidpublisher","reason":"releaseValidationErrorKeyNotCompliantWith64BitRequirementError","message":"Release is not compliant with the Play 64-bit requirement."}]},"isOperational":true,"code":403,"errors":[{"domain":"androidpublisher","reason":"releaseValidationErrorKeyNotCompliantWith64BitRequirementError","message":"Release is not compliant with the Play 64-bit requirement."}]} Earlier in the day, I had reviewed the link you've just posted, I've set the build to arm64-v8a only, and defined the min SDK version to be 8.1. Unfortunately, we're not using Android Studio and so we don't have access to the analyzer, does VS 2019 have a comparable version of the apk analyzer? The timeframe is about right, I had builds working the week before last. |
Make sure you also target 64-bit in release, not only in debug. |
The console is a do as I say, not as I do. From my yaml: My android build task looks like this: task: XamarinAndroid@1 My publish task looks like this: task: GooglePlayRelease@2 |
@MouthOfMadness, you've uploaded the exact same binaries manually and it doesn't give a warning or error? (If you're using a hosted agent, you'd need to post the APK as an artifact, download it, and manually upload it through the console.) Does it not even give the warning about supporting 64-bit architectures? You should at minimum see something like this: It seems from the error that this is not a problem with the upload, it's a problem with the APK. |
If it's failing with V2 of the task, then it has to be something that changed on Google's side. It's possible they waited a few days before pulling the trigger for the Aug 1st deadline, but that's just a conjecture. |
Yes, definitely the V2 task is failing and I've updated to V3 and received a different error related to 64-bitness. |
@lkillgore After updating my pipeline to use the GoogleRelease@3 task, I had to hand edit the android csproj file to be arm64-v8a;x86_64. It all worked after that. |
Works fine here. |
Glad to hear it @MouthOfMadness! And, thanks for posting your fix! |
I feel a bit sheepish; I should have looked at the csproj file right away, Visual Studio hasn't been able to edit its project files correctly for the last couple of years. |
@MouthOfMadness Sorry for being naive. Can you please let me know how you updated updating my pipeline to use the GoogleRelease@3 task ? Is the Task version in "Release Step" in the pipeline? |
I'm using YAML for my pipeline and my code looks like this:
|
@MouthOfMadness Thank you . It helps. |
@druvcom I should have mentioned that I using a single yaml file for both build and deployment for google; it didn't make sense to separate build and release for the google environment as internally they don't have a concept of dev/qa/production environments, but rather the internal/alpha/beta... track. There are yaml tasks to do the track promotion, but I'm not using them. |
According to Google: "Starting December 1, 2019, versions 1 and 2 of the Google Play Developer API will no longer be available." Does this project use v3 of their APIs?
The text was updated successfully, but these errors were encountered: