googlesamples / android-play-publisher-api

Apache License 2.0
492 stars 284 forks source link

Fix: edits.track().update should be called two times (Track alpha -… #30

Open AnthonyNahas opened 7 years ago

AnthonyNahas commented 7 years ago

Fix: edits.track().update should be called two times.

--> I'am not able to commit my edits and im getting every time error 403 ... -->

{ "code" : 403, "errors" : [ { "domain" : "androidpublisher", "message" : "Version 3 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes.", "reason" : "multiApkShadowedActiveApk" } ], "message" : "Version 3 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes." }

I beleive that the problem is that using the sample class "BasicUploadApk" you are tracking alpha with a new apk where another apk (with different versionCode) is in the same time tracked in beta.

--> result multiApkShadowedActiveApk error!

please see similar issues here:

thank you

googlebot commented 7 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


AnthonyNahas commented 7 years ago

I signed it!