Closed xiang23 closed 2 years ago
似乎是与jacoco冲突导致,关闭了就好了
Not sure "turning off Jacoco" is a solution 😆
This issue still persists and we see it with:
Arouter 1.3.0 AGP 8.4.1
We also use the
arouter-jailbird-plugin 1.0.2
The workaround was to use this plugin during the code coverage debug build as well. Like this in the config:
disableTransformWhenDebugBuild = false
That means we go into the path on 150, and avoid the path on 158 which causes the crash
调用 ARouter.init 在AGP7.0.2的时候正常,升级到7.2.1的时候出现这个问题,因为我没使用自动注册插件,追了下代码,问题似乎出在编译生成的文件上 正常情况的routermap 异常情况的routermap
多生成了ExternalSynthetic$Condy0这个东西,然后通过反射时创建的就报错了