From 067709bf4bd4d75e904824f1760ef5c8ffc3b278 Mon Sep 17 00:00:00 2001 From: agnostic-apollo Date: Tue, 6 Apr 2021 16:15:50 +0500 Subject: [PATCH] Disable obfuscation of termux-app in release builds without disabling optimizations and shrinking This will allow stacktraces to have full class and method names when a crash report is generated. --- app/proguard-rules.pro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 4306bcc419..7365abb1dc 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -7,5 +7,6 @@ # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html --renamesourcefileattribute SourceFile --keepattributes SourceFile,LineNumberTable +-dontobfuscate +#-renamesourcefileattribute SourceFile +#-keepattributes SourceFile,LineNumberTable