From d7f59b92c47aac1539e050a1a5222a884a1da734 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sun, 12 Jun 2022 18:26:50 +0200 Subject: [PATCH] [android] Reverted back R8 optimizations after testing Signed-off-by: Alexander Borsuk --- android/proguard-mwm.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/android/proguard-mwm.txt b/android/proguard-mwm.txt index 730504279e..9d653e79a6 100644 --- a/android/proguard-mwm.txt +++ b/android/proguard-mwm.txt @@ -9,7 +9,10 @@ # Enabling shrinking causes # Execution failed for task ':minifyFdroidReleaseWithR8'. # > com.android.tools.r8.CompilationFailedException: Compilation failed to complete --dontshrink +# Optimizing leads to crashes like +# No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.mapswithme.util.HttpClient" +# It requires to manually mark all methods and classes called from NDK. +-dontoptimize -keepnames class * implements com.mapswithme.util.Gsonable { !transient ;