日志兼容性问题

#541 · open · 1 comments

View on GitHub ↗

huyuanyao

在oppo find x8 等机型上 输出日志经常丢失,部分或者全部丢失都有发生 ,其他手机和模拟器上正常,但我用同样的日志拦截器用其他框架掉用接口oppo 又能看到日志。希望作者能看到的话解决一下,我折腾了一整天发现啥都正常就是日志不正常; 版本是 def rxhttp_version = '3.1.1' implementation 'com.squareup.okhttp3:okhttp:4.12.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" // ksp/kapt/annotationProcessor choose one ksp "com.github.liujingxing.rxhttp:rxhttp-compiler:$rxhttp_version"

Comments

liujingxing

Android studio单次打印日志有长度限制,如果想完整打印,setDebug方法第二个参数传true,此时会分段打印。如果没有,请更新你的rxhttp版本