AllenLiu

Results 39 comments of AllenLiu

这当一个已知问题吧 估计是OKHTTP请求失败了 可以考虑自己写请求版本逻辑 下载逻辑交给库

库使用的okhttp版本'com.squareup.okhttp3:okhttp:3.8.1',可能okhttp版本不同导致api不同

针对第一个问题 implementation 'com.github.AlexLiuSheng:CheckVersionLib:2.3.3.1_appcompat'

appcompat: `implementation 'com.github.AlexLiuSheng:CheckVersionLib:2.3.3.1_appcompat'` androidx: `implementation 'com.github.AlexLiuSheng:CheckVersionLib:2.2.3` 上面第一个`implementation 'com.allenliu.versionchecklib:library:2.2.3'`这个是发到jcenter的是appcompat的,之前appcompat发布的时候EventBus打包出了点问题所以发了个2.3.3.1也把库都迁移到jitpack了,androidX:2.2.3我这边测试时没问题的

你用得哪个版本哦,我记得已经修复了啊

你有自定义通知么 把你构建通知的代码发出来

开了混淆的?

你看报错是什么原因 -keepattributes Annotation -keepclassmembers class ** { @org.greenrobot.eventbus.Subscribe ; } -keep enum org.greenrobot.eventbus.ThreadMode { ; } -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent { (java.lang.Throwable); } -keep class com.allenliu.versionchecklib.**{*;}