- Added
pre-emulator-launch-script
to support running script after creating the AVD and before launching the emulator. - #247 @nilsreichardt. - Update to Node 16. - #276 @mattjohnsonpint.
- Update NPM dependencies. - #282 @mattjohnsonpint.
- Update README with more context on hardware acceleration on GitHub hosted runners. - #279 @mrk-han.
- Support github-actions-typing. - #257 @LeoColman.
- Auto detect hardware acceleration on Linux. - #254 @notbigdata.
- Update build tools to
33.0.0
. - Update SDK command-line tools to
7.0
.
- Add option to specify
heap-size
for the AVD. - #245 @timusus.
- Update build tools to
32.0.0
. - #212 - Update SDK command-line tools to
6.0
. - #213 - Add option to specify
disk-size
for the AVD. - #219 @ViliusSutkus89. - Improve logging by grouping log lines. - #224 @michaelkaye.
- Add option to enable hardware keyboard. - #209 (upstreamed from the Doist fork).
- Update README and fix typos. - #203 @JPrendy.
- Support new ATD targets optimized to reduce CPU and memory resources when running instrumented tests:
aosp_atd
,google_atd
. - #198. Note that currently these targets require the following:api-level: 30
arch: x86
orarch: arm64-v8a
channel: canary
- Support non-mobile targets:
android-wear
,android-wear-cn
,android-tv
andgoogle-tv
. - #180 @alexvanyo. - Update SDK command-line tools to
5.0
. - #174 - Update build tools to
31.0.0
. - #174 - Add option to specify the
channel
to download SDK components from:stable
(default),beta
,dev
andcanary
. - #185
- Accept all Android SDK Licenses to fix
sdkmanager
installation. - #172 @marcuspridham.
- Add option to specify
ram-size
for the AVD. - #165.
- Added support for setting modern emulator build ids for
emulator-build
. Not all build ids are supported until we are able to figure out at which build id the download URL pattern changed.7425822
(version 30.7.3) is currently the last known working build id.
- Add
force-avd-creation
which when set tofalse
will skip avd creation if avd with same name exists. This enables AVD snapshot caching which can significantly reduce emulator startup time. See README.md for a sample workflow. - #159
- Add option to toggle Linux hardware acceleration - #154 @stevestotter
- Avoid wrapping script code in quotes - #134 @hostilefork
- Add option to disable spellcheck - #143 @AfzalivE
- Add support for arm64-v8a for Apple Silicon Macs - #146 @Jeehut
- Added support for specifying the number of cores to use for the emulator - #130.
- Support
macos-11.0
(Big Sur) runner - #124.
- Support API 28 system images with
google_apis
orgoogle_apis_playstore
target - #117.
- Fix hang during AVD creation when
profile
is not specified - #113.
- Support specifying SD card path or size via
sdcard-path-or-size
. - Update npm packages.
- Remove usages of deprecated
$ANDROID_HOME
.
- Updated to SDK command-line tools
3.0
.
Added support for using the playstore
system images:
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 30
target: playstore
arch: x86
script: ./gradlew connectedCheck
- Update SDK command-line tools to
2.1
. - Update @actions/core to
1.2.6
.
- Support running multiple instances of the action sequentially in a single job - #73.
- Support Android 11 (API 30) system images.
- Bump build tools to
30.0.0
.
- Updated to SDK command-line tools
2.0
.
- Added support for specifying a custom name used for creating the AVD - #59.
- Added support for specifying versions of NDK and CMake to install.
- Fixed an issue where the Linux command-line tools binary is used for
macos
.
- Fixed SDK license issue on Linux when downloading API 28+ system images - #42.
- Added support for Linux VMs (no hardware acceleration) - #15.
- Added support for API 15-19 system images - #26.
- Switched to the new SDK command-line tools which supports running
sdkmanager
andavdmanager
with Java 9+ - #25.
- Added support for setting custom
working-directory
- e.g../android
if your root Gradle project is under the./android
sub-directory within your repository - #22.
- Fixed an issue where environment variables are escaped in script - #19.
- Bumped Android Build tools to 29.0.3.
- Added support for running the action with Java 9+ by forcing SDK manager and AVD manager to use Java 8.
- Fixed an issue where emulator is killed prematurely.
- Added
-gpu swiftshader_indirect
to defaultlaunch-options
. - Added support for pinning a specific
emulator-build
- e.g.6061023
for emulator v29.3.0.0.
- Added support for multi-line script.
- Added action input
emulator-options
for providing command-line options used when launching the emulator. Default value is-no-window -no-snapshot -noaudio -no-boot-anim
. - Removed
headless
action input which is equivalent to specifying-no-window
in the newemulator-options
action input (included by default).
- Increased emulator boot timeout to 5 mins.
- Fixed docs.
- Minor internal changes.
Initial release.