# Deploy multiple aab (android app bundles) with a single step

**URL:** <https://discuss.bitrise.io/t/deploy-multiple-aab-android-app-bundles-with-a-single-step/11848>\
**Category:** Steps\
**Tags:** google-play\
**Created:** [February 6, 2020, 4:16pm UTC](https://discuss.bitrise.io/t/deploy-multiple-aab-android-app-bundles-with-a-single-step/11848 "2020-02-06T16:16:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![awenger](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@awenger](https://discuss.bitrise.io/u/awenger)\
**Post date:** [February 6, 2020, 4:16pm UTC](https://discuss.bitrise.io/t/deploy-multiple-aab-android-app-bundles-with-a-single-step/11848/1 "2020-02-06T16:16:55Z")

</div>

## Description of the feature request

- currently it is not possible to deploy multiple android app bundles with a single “Deploy to Google Play” step.
- add support to deploy multiple android app bundles to with a single “Deploy to Google Play” step.
- currently it “fails”/warns during the upload:

```auto
Found .aab file: /bitrise/deploy/app.aab
Found .aab file: /bitrise/deploy/wear.aab
More than 1 .aab files provided, using the first: /bitrise/deploy/app.aab

```

## Use case / for what or how I would use it

- The current behavior is problematic for apps that have a phone and a wear app. The Android Build command automatically builds two bundles, one bundle for wear app and another one for the phone app.

## Current Behavior

- it seems that the current implementation of the step just prints the warning and then just proceeds with the first bundle it found, [see config.go](https://github.com/bitrise-steplib/steps-google-play-deploy/blob/eba532cf96510e392446e6027cdb615f456d9a7d/config.go#L136-L142)
- the “uploading” part of the step however seems to be already build to support multiple android app bundles, [see](https://github.com/bitrise-steplib/steps-google-play-deploy/blob/eba532cf96510e392446e6027cdb615f456d9a7d/main.go#L32-L71)
- my assumption why the upload of multiple app bundles was just not added from the beginning is that in most cases the app bundle actually replaced the necessity to upload multiple apks. However this is different for wear/phone apps which need to be uploaded as two separate app bundles

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [February 7, 2020, 9:23am UTC](https://discuss.bitrise.io/t/deploy-multiple-aab-android-app-bundles-with-a-single-step/11848/2 "2020-02-07T09:23:21Z")

</div>

Thanks for the feature request, @awenger, sounds like a neat idea 🙂

---

<div class="post-metadata">

**Author:** ![pixell](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/pixell/32/2934_2.png) [@pixell](https://discuss.bitrise.io/u/pixell)\
**Post date:** [May 8, 2020, 6:53am UTC](https://discuss.bitrise.io/t/deploy-multiple-aab-android-app-bundles-with-a-single-step/11848/3 "2020-05-08T06:53:56Z")

</div>

Any updates on this? This is something that prevents us from using Bitrise for the full release lifecycle.

---

<div class="post-metadata">

**Author:** ![awenger](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@awenger](https://discuss.bitrise.io/u/awenger)\
**Post date:** [June 16, 2020, 2:31pm UTC](https://discuss.bitrise.io/t/deploy-multiple-aab-android-app-bundles-with-a-single-step/11848/4 "2020-06-16T14:31:39Z")

</div>

It is fixed now, see: [https://github.com/bitrise-steplib/steps-google-play-deploy/pull/80](https://github.com/bitrise-steplib/steps-google-play-deploy/pull/80)
