From 6a52bea451fa48bf9aff6cecc616924e3ad5e2d4 Mon Sep 17 00:00:00 2001 From: klxiaoniu Date: Sun, 17 Nov 2024 14:05:57 +0800 Subject: [PATCH] fix: workaround for Android 15 crash --- app/build.gradle.kts | 2 +- gradle.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 859471f889..5c24ce837e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -151,7 +151,7 @@ android { println("No Signature Digest Configured") } getByName("release") { - isShrinkResources = true + isShrinkResources = false isMinifyEnabled = true proguardFiles("proguard-rules.pro") kotlinOptions.suppressWarnings = true diff --git a/gradle.properties b/gradle.properties index 697ece9083..a9d623c690 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,7 @@ android.nonTransitiveRClass=true android.injected.testOnly=false android.includeDependencyInfoInApks=false android.enableBuildConfigAsBytecode=true +android.enableResourceOptimizations=false kotlin.code.style=official kotlin.daemon.useFallbackStrategy=false