dodola / HotFix

安卓App热补丁动态修复框架
MIT License
1.7k stars 444 forks source link

每次都要clean才能build成功. #1

Closed Eklett closed 9 years ago

Eklett commented 9 years ago

用的是as.每次编译都要clean才能编译通过,否则都会报错.

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/longbin/githubProject/HotFix/app/build.gradle' line: 5

* What went wrong:
Execution failed for task ':app:processWithJavassist'.
> dodola.hotfix.BugClass class is frozen
dodola commented 9 years ago

嗯,是有这个问题,我是在打包之前用javassist直接写入class文件,class文件被frozen了。我改一下,如果发现被frozen,先执行 defrost 一下