From ec63ec13ce0da23ee1aeda7f6cc16aed6448654c Mon Sep 17 00:00:00 2001 From: Yang Date: Tue, 16 Jun 2026 21:30:19 +1000 Subject: [PATCH 1/2] Add `minorApiLevel` for compile SDK. Test with API 37.0. --- .github/workflows/main.yml | 14 +++++++++++--- test-fixture/app/build.gradle.kts | 6 +++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a94c1038..04dbde59e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,15 +35,23 @@ jobs: api-level: 34 target: aosp_atd arch: x86_64 + - os: ubuntu-latest + api-level: 34-ext10 + target: android-automotive + arch: x86_64 + system-image-api-level: 34-ext9 - os: ubuntu-latest api-level: 35 target: google_apis arch: x86_64 - os: ubuntu-latest - api-level: 34-ext10 - target: android-automotive + api-level: 37.0 + target: google_apis_playstore_ps16k + arch: x86_64 + - os: ubuntu-latest + api-level: 37.0 + target: google_apis_ps16k arch: x86_64 - system-image-api-level: 34-ext9 steps: - name: checkout diff --git a/test-fixture/app/build.gradle.kts b/test-fixture/app/build.gradle.kts index 0af471a2d..637169995 100644 --- a/test-fixture/app/build.gradle.kts +++ b/test-fixture/app/build.gradle.kts @@ -4,7 +4,11 @@ plugins { android { namespace = "com.example.testapp" - compileSdk = 37 + compileSdk { + version = release(37) { + minorApiLevel = 0 + } + } buildToolsVersion = "37.0.0" defaultConfig { From 5b1eca08febdce0fcb8c9ee40bce8e9390fce3ff Mon Sep 17 00:00:00 2001 From: Yang Date: Tue, 16 Jun 2026 21:43:50 +1000 Subject: [PATCH 2/2] Quotes. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04dbde59e..4762be599 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,11 +45,11 @@ jobs: target: google_apis arch: x86_64 - os: ubuntu-latest - api-level: 37.0 + api-level: "37.0" target: google_apis_playstore_ps16k arch: x86_64 - os: ubuntu-latest - api-level: 37.0 + api-level: "37.0" target: google_apis_ps16k arch: x86_64