目前已知的开源热修复方案
无    2018-12-22 16:59:51    449    0    0
xianglijiaxing

http://liwenkun.xyz/2016/11/11/android-load-class-dynamically/ 

 

github上已知的热修复技术

 

1.淘宝的Dexposed

    不支持Art模式(5.0+)  http://www.jianshu.com/p/479b8c7ec3e3 

 

2.支付宝的AndFix --- 基于NDK

    缺点:无法添加类和字段

    优点:无需重启app 2.3-6.0,jni实现,有坑

 

    阿里HotFix1.x:

 

    阿里HotFix2.x:

        介绍: http://mp.weixin.qq.com/s/KyDg09MpWpP7NbGXuFTlvw 

 

3.QQ空间的HotFix  https://zhuanlan.zhihu.com/p/20308548?columnSlug=magilu 

    基于Nuwa实现Android自动化HotFix

    缺点: 重新启动 2.3-6.0,对启动速度略微有影响。

    典型的classLoader实现。

 

    其它: 

        https://github.com/dodola/HotFix   基于QQ的HotFix,已废弃;

        https://github.com/dodola/RocooFix 

 

 

4.QQ控件的Nuwa

 

 

5.微信热补丁方案 微信的Tinker ---基于framework

 https://github.com/Tencent/tinker/wiki 

http://www.tinkerpatch.com/ 

 

http://www.tuicool.com/articles/f6bmIzu 

 

6.QFix http://mp.weixin.qq.com/s?__biz=MzA3NTYzODYzMg==&mid=2653577964&idx=1&sn=bac5c8883b7aaaf7d7d9ea227f200412&chksm=84b3b0ebb3c439fd56a502a27e1adc18f600b875718e537191ef109e2d18dae1c52e5e36f2d9&mpshare=1&scene=1&srcid=1013aPEARdaS2XzToIwP7JqY#rd 

QFix 是手Q团队近期推出的一种新的 Android 热补丁方案,有效地规避了 dalvik 下”unexpected DEX”的异常, jni实现。

 

 

7.美团Robust

借鉴Instant Run原理 高兼容性,实时生效

 http://geek.csdn.net/news/detail/133086 

-------------------------------------相关知识------------------------------------------

https://segmentfault.com/a/1190000004086213?f=tt&hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io 

 

Android 热补丁技术——资源的热修复

 

各大热补丁方案分析和比较

 

Android热更新之so库的热更新

 

Android高工必备技能:  Step 4. 热修复

 


Instant Run详解:

 

http://blog.csdn.net/guolin_blog/article/details/51271369

 

8.阿里百川的HotFix(基于AndFix)

 

 

9.饿了吗的Amigo

 

10.Sophix --- 2017年06月11日,手淘技术团队联合阿里云

 

 

 

11.360即将开源的插件化框架

 https://github.com/Qihoo360/RePlugin

 

360手机卫士插件化框架预计将在2018年7月开源

http://bbs.360.cn/thread-15041989-1-1.html

上线:
https://dc.360.cn/doc/replugin/101


 

360开源列表:

http://www.oschina.net/project/360

https://github.com/Qihoo360

 

12.携程的DynamicAPK

https://github.com/CtripMobile/DynamicAPK  (已停止更新)

 文章:http://www.open-open.com/lib/view/open1446711797248.html

 

 13.滴滴VirtualAPK

 

 

 

 

上一篇: OOM与进程优先级

下一篇: 资料

449 人读过
立即登录, 发表评论.
没有帐号? 立即注册
0 条评论
文档导航