From 5ffdf66b9d09d21c01402e124fe62c16193278ae Mon Sep 17 00:00:00 2001 From: darken Date: Fri, 7 Aug 2026 19:24:10 +0200 Subject: [PATCH] Fix release builds failing on a missing Play Core annotation R8 reported com.google.android.gms.common.annotation.NoNullnessRewrite as missing; it is a compile-time-only annotation referenced by review-ktx and absent from the runtime classpath. Adds the same targeted -dontwarn SD Maid SE already uses. --- app/proguard/proguard-rules.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/proguard/proguard-rules.pro b/app/proguard/proguard-rules.pro index c6843d89..5a768afb 100644 --- a/app/proguard/proguard-rules.pro +++ b/app/proguard/proguard-rules.pro @@ -5,4 +5,6 @@ # R8 full mode strips no-arg constructors not reachable by static analysis. # Keep all constructors in the work package. Remove when Glance upgrades to work-runtime 2.10+. # See: https://issuetracker.google.com/issues/243257364 --keep class androidx.work.** { (...); } \ No newline at end of file +-keep class androidx.work.** { (...); } +# Play Core KTX references this compile-time-only GMS annotation not on the runtime classpath +-dontwarn com.google.android.gms.common.annotation.NoNullnessRewrite