From 91ac8be18c26646bc80aa6bcf22dabcca81f70c6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 06:22:47 +0000 Subject: [PATCH 1/2] Initial plan From 638e61d8556435d4023608d2ab9a181cd9942571 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 06:25:36 +0000 Subject: [PATCH 2/2] fix(proguard): add -dontwarn org.slf4j.** to fix R8 release build RootEncoder 2.5.5 pulls in SLF4J 1.x transitively. SLF4J 1.x's LoggerFactory.bind() references org.slf4j.impl.StaticLoggerBinder (the legacy static-binding class). No Android SLF4J backend is bundled, so R8 fails with "Missing class" during minifyFossReleaseWithR8. Adding -dontwarn org.slf4j.** suppresses the error. SLF4J falls back to NOP logging when no binding is found, so this is safe at runtime. Agent-Logs-Url: https://github.com/alxayo/StreamCaster-android/sessions/81b28a56-2501-45ff-a930-58a69858c3b3 Co-authored-by: alxayo <2588978+alxayo@users.noreply.github.com> --- app/proguard-rules.pro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index dd2c654..e27ed28 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -96,6 +96,14 @@ } +# ── SLF4J (logging facade, transitive dependency of RootEncoder) ───────────── +# SLF4J 1.x references org.slf4j.impl.StaticLoggerBinder which is the legacy +# static-binding mechanism. No Android SLF4J backend is shipped, so R8 cannot +# find this class at shrink time. SLF4J gracefully falls back to NOP logging +# when no binding is present, so suppressing the warning is safe. +-dontwarn org.slf4j.** + + # ── Build tooling (compile-time only) ──────────────────────────────────────── # Google AutoService references javax.annotation.processing classes that are # only available at compile time (not in the Android runtime). These warnings