混淆log不打印。

This commit is contained in:
2026-01-17 00:12:14 +08:00
parent 99b3350329
commit e5f77b626e

View File

@@ -16,6 +16,18 @@
# public *;
#}
# 1. 忽略 Log 相关的混淆警告,避免编译时报无关错误
-dontwarn android.util.Log
# 2. 移除 Log 类的所有打印方法v/d/i/w/e无副作用可安全删除
-assumenosideeffects class android.util.Log {
public static int v(...);
public static int d(...);
public static int i(...);
public static int w(...);
public static int e(...);
}
-keep class com.mob.**{*;}
-keep class cn.smssdk.**{*;}