Closed bitrise-devs-bot closed 1 day ago
Don't forget to follow semantic versioning! Breaking changes (including step inputs) should be in major versions only.
step.yml
changes compared to previous version:
--- steps/avd-manager/1.2.1/step.yml 2024-11-22 14:15:43
+++ steps/avd-manager/1.3.0/step.yml 2024-11-22 14:15:44
@@ -4,5 +4,5 @@
Run instrumented and UI tests on a virtual Android device. Once some basic inputs are set, the Step checks the requirements, downloads the selected system image before creating and starting the emulator.
- **Warning:** This Step is not yet supported on Apple Silicon (M1) machines. If you cannot find a solution to this error, try running this Workflow on an Intel-based machine type.
+ **Warning:** Android emulators can't run on Apple Silicon build machines. Until nested virtualization becomes supported, you should run emulator tests on Linux machines.
### Configuring the Step
@@ -29,14 +29,13 @@
source_code_url: https://github.com/bitrise-steplib/steps-avd-manager
support_url: https://github.com/bitrise-steplib/steps-avd-manager/issues
-published_at: 2023-09-18T13:22:47.529952991Z
+published_at: 2024-11-22T14:15:05.30224367Z
source:
git: https://github.com/bitrise-steplib/steps-avd-manager.git
- commit: 2f405f12e5a07a7c34c97616cb4179bd822adb23
+ commit: 70b5f4f35674c8634a14c1f23fca0521ae4be124
type_tags:
-- utility
+- test
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-avd-manager
-is_requires_admin_user: true
is_always_run: false
is_skippable: false
@@ -53,7 +52,7 @@
- api_level: 26
opts:
- description: The device will run with the specified version of android.
+ description: The device will run with the specified system image version.
is_required: true
- summary: The device will run with the specified version of android.
+ summary: The device will run with the specified system image version.
title: Android API Level
- opts:
@@ -74,5 +73,5 @@
- abi: x86
opts:
- category: Debug
+ category: Advanced
description: Select which ABI to use running the emulator. Availability depends
on API level. Please use `sdkmanager --list` command to see the available ABIs.
@@ -90,12 +89,12 @@
- emulator_id: emulator
opts:
- category: Debug
+ category: Advanced
description: Set the device's ID. (This will be the name under /Users/vagrant/.android/avd/)
is_required: true
summary: Set the device's ID. (This will be the name under /Users/vagrant/.android/avd/)
title: ID
-- create_command_flags: --sdcard 512M
+- create_command_flags: --sdcard 2048M
opts:
- category: Debug
+ category: Advanced
description: Flags used when running the command to create the emulator.
is_required: false
@@ -103,5 +102,5 @@
title: Create AVD command flags
- opts:
- category: Debug
+ category: Advanced
description: Flags used when running the command to start the emulator.
is_required: false
@@ -109,7 +108,17 @@
title: Start AVD command flags
start_command_flags: -camera-back none -camera-front none
+- emulator_build_number: preinstalled
+ opts:
+ category: Emulator
+ description: |-
+ Allows installing a specific emulator version at runtime. The default value (`preinstalled`) will use the emulator version preinstalled on the Stack, which is updated regularly to the latest stable version.
+
+ See available build numbers [here](https://developer.android.com/studio/emulator_archive) (you need the last segment of the download URL). Note: this input expects the **build number**, not the **version number**.
+
+ When this input set to a specific build number, the `emulator_channel` input should be set to `no update`.
+ title: Emulator build number
- emulator_channel: no update
opts:
- category: Debug
+ category: Emulator
description: |-
Select which channel to use with `sdkmanager` to fetch *emulator* package. Available options are no update, or channels 0 (Stable), 1 (Beta), 2 (Dev), and 3 (Canary).
@@ -122,4 +131,6 @@
- `2`: Dev channel
- `3`: Canary channel
+
+ When this input set to a specific channel, the `emulator_build_number` input should be set to `preinstalled`.
is_expand: true
is_required: true
@@ -136,5 +147,5 @@
- headless_mode: "yes"
opts:
- category: Debug
+ category: Emulator
description: |-
In headless mode the emulator is not launched in the foreground.
https://github.com/bitrise-steplib/steps-avd-manager/releases/1.3.0