From 04f2e229d9a48555c90020a4964d9b67a079538d Mon Sep 17 00:00:00 2001 From: Malcolm Smith Date: Wed, 28 Jan 2026 23:48:26 +0000 Subject: [PATCH] gh-142387: Reduce Android testbed API level to 33 (GH-144315) The emulator images for API level 34 and 35 have significant issues with image size and internet connectivity. Reverts the default API level used for testbed testing to 33. (cherry picked from commit 6543720b63a62363de540deb5a6701f1ae431bce) Co-authored-by: Malcolm Smith --- Android/testbed/app/build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Android/testbed/app/build.gradle.kts b/Android/testbed/app/build.gradle.kts index 14d43d8c4d5c42..4f184cf42d5b5a 100644 --- a/Android/testbed/app/build.gradle.kts +++ b/Android/testbed/app/build.gradle.kts @@ -92,7 +92,12 @@ android { } throw GradleException("Failed to find API level in $androidEnvFile") } - targetSdk = 35 + + // This controls the API level of the maxVersion managed emulator, which is used + // by CI and cibuildwheel. 34 takes up too much disk space (#142289), 35 has + // issues connecting to the internet (#142387), and 36 and later are not + // available as aosp_atd images yet. + targetSdk = 33 versionCode = 1 versionName = "1.0"