Android中热修复不同框架比较

 

 

AndFix

1.第一次修复时成功,当第二次修复时只改变补丁文件不成功,还必须要重新安装才能成功

2.修改布局不成功

3.类结构不能改变,AndFix不支持新增方法,新增类,新增field,增加成员变量等

4.AndFix热修复框架地址:https://github.com/alibaba/AndFix

5.稳定性与兼容性不好

参考 https://blog.csdn.net/qq_31530015/article/details/51785228

Tinker

Tinker开源地址:https://github.com/Tencent/tinker

原理参考:https://www.jianshu.com/p/11acde51ff0b   和  https://blog.csdn.net/qq_22393017/article/details/73999210

Tinker-使用教程与原理分析(上)  https://www.jianshu.com/p/d649fc014919

自己实现热修复

参考:https://blog.csdn.net/u013132758/article/details/80954639

https://blog.csdn.net/qq_24675479/article/details/79258837

demo链接

猜你喜欢

转载自blog.csdn.net/haoxuhong/article/details/86576357