From a09e9645f16c90d9f090307d48f57cbef28c32fa Mon Sep 17 00:00:00 2001 From: aoi Date: Tue, 19 May 2026 16:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=B1Ktor=E5=BC=95?= =?UTF-8?q?=E7=94=A8Debug=E5=8C=85=E5=AF=BC=E8=87=B4=E7=9A=84=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 76d8cda00..fe883fa8f 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -133,3 +133,7 @@ cn.hutool.core.util.**{*;} # Throwable -keepnames class * extends java.lang.Throwable -keepclassmembernames,allowobfuscation class * extends java.lang.Throwable{*;} +# 忽略 Ktor 在 Android 上对 Java SE 管理类的引用 +-dontwarn java.lang.management.** +-dontwarn io.ktor.util.debug.IntellijIdeaDebugDetector +-keep,allowobfuscation class io.ktor.util.debug.** { *; }