From 61e0cb061f30919cd409b0af36264b1c41d06fe4 Mon Sep 17 00:00:00 2001 From: Stefan Lange-Hegermann Date: Wed, 19 Aug 2026 15:35:06 +0200 Subject: [PATCH] android: target Android 16 (API 36) Play blocks updates from August 31, 2026 unless the app targets API 36. Bump compileSdk/targetSdk to 36 in :app and :baselineprofile, and AGP to 8.10.1 -- 8.7.3 cannot build against API 36. Gradle stays at 8.11.1, which is what AGP 8.10 requires. Nothing in the app relies on the behaviours Android 16 changed: edge-to-edge is already opted in via enableEdgeToEdge(), the manifest pins no orientation or resizability, and the two bundled native libraries (graphics-path, datastore_shared_counter) are already 16 KB page aligned. Align the version with iOS (1.8.1, code 88) so the API 36 build can ship. --- android/app/build.gradle.kts | 8 ++++---- android/baselineprofile/build.gradle.kts | 4 ++-- android/gradle/libs.versions.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 48c169a..9f52531 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -20,14 +20,14 @@ val hasReleaseSigning = keystoreProps.getProperty("storeFile")?.let { file(it).e android { namespace = "app.voltplan.cable" - compileSdk = 35 + compileSdk = 36 defaultConfig { applicationId = "app.voltplan.cable" minSdk = 26 - targetSdk = 35 - versionCode = 87 - versionName = "1.8.0" + targetSdk = 36 + versionCode = 88 + versionName = "1.8.1" // Aptabase analytics — mirrors the iOS configuration (the iPhone app's tracker). buildConfigField("String", "APTABASE_APP_KEY", "\"A-SH-4260269603\"") diff --git a/android/baselineprofile/build.gradle.kts b/android/baselineprofile/build.gradle.kts index 7b04e28..4abf1b4 100644 --- a/android/baselineprofile/build.gradle.kts +++ b/android/baselineprofile/build.gradle.kts @@ -6,7 +6,7 @@ plugins { android { namespace = "app.voltplan.cable.baselineprofile" - compileSdk = 35 + compileSdk = 36 compileOptions { sourceCompatibility = JavaVersion.VERSION_11 @@ -19,7 +19,7 @@ android { defaultConfig { // Baseline profile capture needs API 33+ on an unrooted device. minSdk = 33 - targetSdk = 35 + targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/android/gradle/libs.versions.toml b/android/gradle/libs.versions.toml index 03c14d5..00ac540 100644 --- a/android/gradle/libs.versions.toml +++ b/android/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.7.3" +agp = "8.10.1" kotlin = "2.1.0" ksp = "2.1.0-1.0.29" coreKtx = "1.15.0"