From 1b2d06e3f122df7b8bf4527fe2393582aa2ea49d Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Jul 2020 10:47:34 +0800 Subject: [PATCH] add netty proguard --- .idea/misc.xml | 2 +- app/proguard-rules.pro | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index cd77a1f062..21e99e2dc0 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 2a5d294edb..1e2af9ad7a 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -333,6 +333,14 @@ (java.lang.Throwable); } +#-----Netty----- +-keepattributes Signature,InnerClasses +-keepclasseswithmembers class io.netty.** { + *; +} +-dontwarn io.netty.** +-dontwarn sun.** + #-----ZhiDaoService----- -keep class com.zhidao.auto.platform.**{*;} -keep class com.zhidao.auto.carcorder.**{*;}