From 9f150e5cd038ae3ef2367014c5468ed5fd69f2af Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 18 Oct 2020 20:53:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 215f31c33..3733c9bc4 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -54,6 +54,8 @@ # Android开发中一些需要保留的公共部分 # ############################################# +# 屏蔽错误Unresolved class name +#noinspection ShrinkerUnresolvedReference # 保留我们使用的四大组件,自定义的Application等等这些类不被混淆 # 因为这些子类都有可能被外部调用 @@ -66,7 +68,6 @@ -keep public class * extends android.preference.Preference -keep public class * extends android.view.View - # 保留androidx下的所有类及其内部类 -keep class androidx.** {*;}