From b25187f1d33f0e131bb22474865f08de62eff530 Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Thu, 17 Jul 2025 12:42:30 +1200 Subject: [PATCH 1/2] Bump to Google API levels 34 and 36 for device tests #skip-changelog --- .github/workflows/device-tests-android.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/device-tests-android.yml b/.github/workflows/device-tests-android.yml index 953dab0a49..4a2829ebc6 100644 --- a/.github/workflows/device-tests-android.yml +++ b/.github/workflows/device-tests-android.yml @@ -58,8 +58,9 @@ jobs: fail-fast: false matrix: tfm: [net9.0] - # We run against both an older and a newer API - api-level: [27, 33] + # Must be 34+ for new apps and app updates as of August 31, 2024. + # See https://apilevels.com/ + api-level: [34, 36] env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_NOLOGO: 1 From 54088157fd69a415d82983679d12ebcaef921716 Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Fri, 18 Jul 2025 17:58:41 +1200 Subject: [PATCH 2/2] Update device-tests-android.yml --- .github/workflows/device-tests-android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/device-tests-android.yml b/.github/workflows/device-tests-android.yml index 4a2829ebc6..e8c95eed8b 100644 --- a/.github/workflows/device-tests-android.yml +++ b/.github/workflows/device-tests-android.yml @@ -92,7 +92,7 @@ jobs: with: api-level: ${{ matrix.api-level }} # We don't need the Google APIs, but the default images are not available for 32+ - target: ${{ matrix.api-level >= 32 && 'google_apis' || 'default' }} + target: google_apis force-avd-creation: false ram-size: 2048M arch: x86_64