From 5c92671ae2b5d7065dc963c83ce0b10aa442d2ef Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sat, 16 Sep 2023 01:01:03 +0800 Subject: [PATCH] fix: class not found when R8 since android gradle plugin 8+ --- app/proguard-rules.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 63e90b0..a2cf48b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -48,6 +48,7 @@ public static *** throwUninitializedPropertyAccessException(...); } +-keep class * extends android.app.Activity -keepclassmembers class * implements androidx.viewbinding.ViewBinding { *** inflate(android.view.LayoutInflater); } \ No newline at end of file