Closed yz1309 closed 3 years ago
@jzj1993
看下文档,是不是Proguard没有配置好
`
-keep public class implements com.bumptech.glide.module.GlideModule -keep public class extends com.bumptech.glide.module.AppGlideModule -keep public enum com.bumptech.glide.load.ImageHeaderParser$ { [] $VALUES; public *; }
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform
-dontwarn org.codehaus.mojo.animal_sniffer.*
-keepattributes Signature, InnerClasses, EnclosingMethod
-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
-keepclassmembers,allowshrinking,allowobfuscation interface {
@retrofit2.http.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
-dontwarn javax.annotation.**
-dontwarn kotlin.Unit
-dontwarn retrofit2.KotlinExtensions
-if interface { @retrofit2.http.
-optimizations !class/unboxing/enum
-dontnote kotlin.jvm.internal.DefaultConstructorMarker -dontnote kotlin.coroutines. -dontnote com.google.android.material. -dontnote okhttp3.RequestBody -dontnote com.baidu. -dontnote com.scwang.smartrefresh. -dontnote com.viewpagerindicator. -dontnote com.contrarywind. -dontnote com.lwkandroid.widget.**
-keepattributes Annotation
-keepclassmembers class {
@org.greenrobot.eventbus.Subscribe
#
#
反编译一下apk看看有那些类,然后打断点调试分析下就好了,原理不复杂
`
buildTypes {
`