Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27852] Android: Production builds no longer copy AAB to distribution folder as of 9.0.1

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-05-06T13:03:22.000+0000
Affected Version/sRelease 9.0.1
Fix Version/sRelease 9.0.2
ComponentsAndroid
Labelsaab, android, build, bundle, production, regression
ReporterJoshua Quick
AssigneeJoshua Quick
Created2020-04-17T16:35:22.000+0000
Updated2020-05-06T13:03:22.000+0000

Description

*Summary:* As of Titanium 9.0.1, a "production" build no longer outputs an AAB (Android App Bundle) file to the distribution directory. The build does create the AAB file under the "build" directory, but not to the desired location. *Steps to reproduce:*

Delete the last built APK and AAB files from the distribution folder.

Set up a project to build with 9.0.1.

Build for "production".

Go to the selected "Distribution" folder.

Notice the AAB file is missing. Only the APK file is there.

*Work-Around:* The AAB file can be found under the following folder instead...
./build/android/app/build/outputs/bundle/release/aap-release.aab

Comments

  1. Joshua Quick 2020-04-17

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/11644 PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11645
  2. Hans Knöchel 2020-04-19

    Hah, I recently wondered if this was by design. Thx for this!
  3. Joshua Quick 2020-04-20

    Yeah, this was an embarrassing one. This was caused by us updating to the newest gradle tool versions and Google has renamed the outputted AAB file. I've changed our build system to trigger a build failure if we fail to find the build artifacts. And I've asked QE to update the smoke test procedure to delete the last built APK/AAB files before doing the build. That should prevent this from happening again in the future.
  4. Christopher Williams 2020-04-30

    merged to 9_0_X for 9.0.2 target and master for 9.1.0 target
  5. Samir Mohammed 2020-05-06

    *Closing ticket.* Fix verified in SDK version 9.1.0.v20200505112143 and 9.0.2.v20200505111803 Test and other information can be found at: PR (master): https://github.com/appcelerator/titanium_mobile/pull/11644 PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11645

JSON Source