# Can't auto public APK

**URL:** <https://discuss.bitrise.io/t/cant-auto-public-apk/1483>\
**Category:** Builds\
**Tags:** deploy, android, google-play\
**Created:** [April 18, 2017, 11:02am UTC](https://discuss.bitrise.io/t/cant-auto-public-apk/1483 "2017-04-18T11:02:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scorpion](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Scorpion](https://discuss.bitrise.io/u/Scorpion)\
**Post date:** [April 18, 2017, 11:02am UTC](https://discuss.bitrise.io/t/cant-auto-public-apk/1483/1 "2017-04-18T11:02:09Z")

</div>

Error log:  
Failed to validate edit, error: googleapi: Error 403: Version 1218 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes., multiApkShadowedActiveApk

But if I downloaf the APK file and push it to google play store, it’s successful.

Help me with any ideas.

sorry my English.

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [April 18, 2017, 11:15am UTC](https://discuss.bitrise.io/t/cant-auto-public-apk/1483/2 "2017-04-18T11:15:38Z")

</div>

Hey @Scorpion!

This issue is because you have a higher version of apk in one of your lower track, for example you want to upload an apk with version 1218 to production, but you have for example 1219 in your alpha track. The solution is to deactivate higher apk versions in alpha or beta tracks.

Not a long time ago we’ve released a new version of the step which has an option `untrack_blocking_versions`.

Could you please check if this option is set to true in your google-play-deploy step?  
Setting this option to true should automatically deactivate blocking versions of apks.

P.S.:

> [@Scorpion](#):
>
> But if I downloaf the APK file and push it to google play store, it’s successful.

When you upload the APK using the Google Play web UI it automatically deactivates blocking versions, but the Google Play deploy API does not.

---

<div class="post-metadata">

**Author:** ![Scorpion](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@Scorpion](https://discuss.bitrise.io/u/Scorpion)\
**Post date:** [April 18, 2017, 11:20am UTC](https://discuss.bitrise.io/t/cant-auto-public-apk/1483/3 "2017-04-18T11:20:17Z")

</div>

thank you, i’ll try it.
