From d07ac4846ed7832fa3a219f3a45e207c93343884 Mon Sep 17 00:00:00 2001 From: KhooLy <73142442+KhooLy@users.noreply.github.com> Date: Mon, 10 Aug 2026 16:21:38 +0300 Subject: [PATCH] Raise TV minSdk back to 26, matching libmpv's requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The TV flavor's minSdk 24 (from the desugaring commit) broke the TV manifest merge outright: libmpv declares minSdk 26 in its own manifest, and Gradle refuses to merge a lower app minSdk against it. Android 7.0/7.1 (API 24-25) TV devices are unsupported as a result — MPV is a hard dependency of the player backend, not something worth gating behind a runtime API check for two OS versions. --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b336b59..1ee8fa3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -75,8 +75,8 @@ android { } create("tv") { dimension = "device" - // Android TV 7.0 (API 24) and newer. - minSdk = 24 + // libmpv requires API 26; Android TV 7.0/7.1 (API 24-25) devices are unsupported. + minSdk = 26 applicationId = "com.fluxa.app.tv" buildConfigField("String", "DEVICE_FLAVOR", "\"tv\"") buildConfigField("Boolean", "IS_TV", "true")