From 71f84b93cc29a3bf812f9bf1e0f8d5b4f80e43cc Mon Sep 17 00:00:00 2001 From: The412Banner Date: Sat, 19 Sep 2026 14:23:08 -0400 Subject: [PATCH] Tell lint that targetSdk 28 is the point A release build fails on ExpiredTargetSdkVersion, which exists because Play will not take an sdk that old. It is right about the rule and wrong about this app: 29+ forbids executing a file from the app's own data directory, which is the one thing this app exists to do. --- app/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 6a1f04d6..3a6bd5a2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -65,6 +65,14 @@ android { } } + lint { + // targetSdk 28 is deliberate and structural: an app on 29+ may not execute a file out of + // its own data directory, and executing a rootfs is the whole of what this app does. Lint + // fails a release build over it because Google Play will not accept an sdk that old — + // true, and not something this app can trade away. Every other check stays on. + disable 'ExpiredTargetSdkVersion' + } + packagingOptions { jniLibs { // The PulseAudio daemon is executed from the native library directory and its