# GeckoView 混淆规则 -dontwarn org.mozilla.geckoview.** -keep class org.mozilla.gecko.util.DebugConfig { *; } # AndroidInterface 桥接类保护 -keep class com.stand.standapp.AndroidInterface { *; } -keep class com.stand.standapp.AndroidInterface$Companion { *; } # 忽略不存在的可选依赖报错 -dontwarn com.google.android.material.snackbar.** # OkHttp 混淆规则 -keepattributes Signature -keepattributes InnerClasses -dontwarn okhttp3.** -dontwarn okio.** -dontwarn javax.annotation.** -dontwarn org.conscrypt.** # A resource is loaded at runtime for config index: -keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase # 保护实体类 (如果你后续有 JSON 解析) -keep class com.stand.standapp.** { *; }