Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.41k stars 806 forks source link

编译失败 #298

Open mijingjing opened 5 years ago

mijingjing commented 5 years ago

异常类型:编译异常

手机型号:NA

手机系统版本:NA

Robust版本:0.4.82

Gradle版本:2.10

系统:Android

堆栈/日志: 引入第三方jar以及自定义的插件(先引用Robust插件) compile group: 'android.arch.core', name: 'common', version: '1.1.1'

:app:transformClassesWithRobustForDebug ================robust start================ read all class file cost 0.154 second :app:transformClassesWithRobustForDebug FAILED

FAILURE: Build failed with an exception.

BUILD FAILED AsmInsertImpl.java:54 add defrost()??? 添加后自测是OK

imoonx commented 5 years ago
        if (ctClass.isFrozen()) {
            ctClass.defrost();
        }

加上这个不起作用

mijingjing commented 5 years ago
        if (ctClass.isFrozen()) {
            ctClass.defrost();
        }

加上这个不起作用

for循环最后添加的?

imoonx commented 5 years ago

循环内

loDANve commented 5 years ago

解决了么?遇到同样的报错

xuexiansen commented 5 years ago

有解决方案吗? 同样升级到0.4.82 遇到这个问题

busymilk commented 5 years ago

有解决了么,4.87还是这问题

EnvySongtao commented 5 years ago

有解决方案吗? 同样升级到0.4.82 遇到这个问题 我也遇见了,你以前用的版本多少啊,我用你以前的试试

chinacuizichao commented 4 years ago

依然还有这个问题,在生成补丁包时会有javassist3.22.0和java8的冲突