Closed vickyleu closed 1 year ago
# 保留Kotlin协程相关的类和方法
-keep class kotlinx.coroutines.** { *; }
# 保留Kotlin反射相关的类和方法
-keep class io.ktor.util.reflect.** { *; }
-keep class kotlin.reflect.** { *; }
-keepclassmembers class io.ktor.util.reflect.** { *; }
-keepclassmembers class kotlin.reflect.** { *; }
# 如果使用了Ktor客户端,保留相关的类和方法
-keep class io.ktor.client.** { *; }
keep ktor reflect solved the crash
Ktorfit version
1.4.1
What happened and how can we reproduce this issue?
What did you expect to happen?
crash in
Is there anything else we need to know about?
proguard-rules.pro