java.lang.RuntimeException: Unable to get provider com.tencent.bugly.beta.utils.BuglyFileProvider: java.lang.ClassNotFoundException: Didn't find class "com.tencent.bugly.beta.utils.BuglyFileProvider" on path: DexPathList[[dex file "/data/data/com.broker.liming/.00000000000/37CF018B.dex", zip file "/data/app/com.broker.liming-1/base.apk"],nativeLibraryDirectories=[/data/app/com.broker.liming-1
具体报错信息如上
场景:上午还好好的,吃个饭回来项目重新跑起来进入就闪退
这个错误是找不到这个类,说明依赖出问题,但是依赖并没有变,去bugly官网查看,修改成具体版本试了一下,可以了
implementation 'com.tencent.bugly:crashreport_upgrade:late.release'
更换为
implementation 'com.tencent.bugly:crashreport_upgrade:1.3.6'
解决了