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.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user