不是的。-keep class com.oversea.nim.** { ; } 只会保留 com.oversea.nim 包及其子包中所有类的成员,但不会保留 com.oversea.nim.entity 包及其子包中的类的成员。如果需要保留 com.oversea.nim.entity 包及其子包中的类的成员,仍然需要声明 -keep class com.oversea.nim.entity.* { *; }。

Proguard: -keep class com.oversea.nim.** { *; } 是否需要额外声明 com.oversea.nim.entity 包?

原文地址: https://www.cveoy.top/t/topic/paml 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录