From 109c2e31ff843829efc4d5da4605161e0c3f413f Mon Sep 17 00:00:00 2001 From: kfl_614 Date: Mon, 30 Mar 2020 16:49:50 +0800 Subject: [PATCH] =?utf8?q?1.=E5=8A=A0=E5=85=A5=E6=B7=B7=E6=B7=86=20android?= =?utf8?q?x=20=E6=B7=B7=E6=B7=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 3d345d9..22e1d60 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -130,4 +130,13 @@ public protected ; -keep public class com.android.support.a -keep public class com.android.support.b --keep public class rx.internal.util \ No newline at end of file +-keep public class rx.internal.util + +#androidx 混淆 +-keep class com.google.android.material.** {*;} +-keep class androidx.** {*;} +-keep public class * extends androidx.** +-keep interface androidx.** {*;} +-dontwarn com.google.android.material.** +-dontnote com.google.android.material.** +-dontwarn androidx.** \ No newline at end of file -- 2.17.1