Skip to content

[Due for payment 2025-03-05] Fix Android Standalone builds #57266

Description

@francoisl

Problem

The upload_google_play_internal part of standalone Android builds is failing. Our QA team uses standalone builds to determine whether issues are hybrid-only, or on both Standalone and Hybrid.

Recent failure examples:

Action logs as an example (from this build)

+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                                                                                                            Used plugins                                                                                                                                                             |
+-------------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Plugin                                    | Version | Action                                                                                                                                                                                                                                                                        |
+-------------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| fastlane-plugin-aws_s3                    | 2.1.0   | aws_s3                                                                                                                                                                                                                                                                        |
| fastlane-plugin-firebase_app_distribution | 0.10.0  | firebase_app_distribution, firebase_app_distribution_add_testers, firebase_app_distribution_create_group, firebase_app_distribution_delete_group, firebase_app_distribution_get_latest_release, firebase_app_distribution_get_udids, firebase_app_distribution_remove_testers |
+-------------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

[22:53:29]: Sending anonymous analytics information
[22:53:29]: Learn more at https://docs.fastlane.tools/#metrics
[22:53:29]: No personal or sensitive data is sent.
[22:53:29]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[22:53:29]: ---------------------------
[22:53:29]: --- Step: opt_out_usage ---
[22:53:29]: ---------------------------
[22:53:29]: Disabled upload of used actions
[22:53:29]: Driving the lane 'android upload_google_play_internal' 🚀
[22:53:29]: Error setting value '/tmp/artifacts/' for option 'aab'
[22:53:29]: You passed invalid parameters to 'upload_to_play_store'.
[22:53:29]: Check out the error below and available options by running `fastlane action upload_to_play_store`
+-----------------------------------------------------+
|                    Lane Context                     |
+---------------+-------------------------------------+
| PLATFORM_NAME | android                             |
| LANE_NAME     | android upload_google_play_internal |
+---------------+-------------------------------------+
[22:53:29]: Called from Fastfile at line 190
[22:53:29]: ```
[22:53:29]:     1[8](https://github.com/Expensify/App/actions/runs/13466411850/job/37633588665#step:7:9)8:	    # Google is very unreliable, so we retry a few times
[22:53:2[9](https://github.com/Expensify/App/actions/runs/13466411850/job/37633588665#step:7:10)]:     189:	    ENV["SUPPLY_UPLOAD_MAX_RETRIES"]="5"
[22:53:29]:  => 190:	    upload_to_play_store(
[22:53:29]:     191:	      package_name: "com.expensify.chat",
[22:53:29]:     192:	      json_key: './android/app/android-fastlane-json-key.json',
[22:53:29]: ```
[22:53:29]: aab file is not an aab

+------------------------------------+
|          fastlane summary          |
+------+---------------+-------------+
| Step | Action        | Time (in s) |
+------+---------------+-------------+
| 1    | opt_out_usage | 0           |
+------+---------------+-------------+


[!] aab file is not an aab
[22:53:29]: fastlane finished with errors

Solution

Figure out cause, fix it


Ref. Internal discussion

Issue OwnerCurrent Issue Owner: @joekaufmanexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringImprovementItem broken or needs improvement.WeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions