alibaba / alibaba/AndFix

关于AndFix几个常见问题的总结,应该是大家都遇到过的,希望阿里的大拿们指导

Open
#326 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

1、根据大家的反馈,0.5问题蛮多的,不建议使用,那么哪个版本比较稳定呢,毕竟我们不希望自己的产品因为引入了AndFix而出现新的crash
2、阿里百川HotFix的核心修复库是andfix.so,与在GitHub上开源出来的AndFix有何异同
3、听说这个开源的AndFix是由支付宝团队开发的,与阿里百川是不同的团队,请问是否有钉钉或者微信、QQ群提供给大家讨论呢
4、最新的版本说支持Android7.0,但是根据实际测试,并不能支持Android 7.0
5、AndFix修复不能在非主线程中执行,否则会出现ANR。是否只支持在主进程的主线程中修复,有的人建议启一个IntentService,在其中调用热修复代码
6、AndFix的使用场景是否与阿里百川的HotFix的不被允许的使用场景一致
链接地址:http://baichuan.taobao.com/docs/doc.htm?spm=a3c0d.7629140.0.0.rcxDGb&treeId=234&articleId=105843&docType=1
7、由于需要在Application中调用热修复代码,而使用热修复的的场景必然是十万火急,而如果patch包需要下载才可以使用必然会有延时,假设crash出现的时机特别早,会导致patch未下载完APP就crash了,从而导致永远都无法修复,如何解决这个问题?是否建议通过推送的方式主动推送patch包
8、AndFix不支持某些机型或者ROM的原因是什么,因为看GitHub上的代码,只是简单的将两个方法的数据结构交换,是否因为不同厂商修复了Method的数据结构,我们在使用时候应该如何规避。如果我们自己有ROM的源代码,是否可以告知使用什么工具来调试,保证在这些ROM上修复成功
9、在热修复时,你们的文档中也提到如果对某个Bug做热修复的时候,正好代码执行到这行,可能会有crash风险,这个时候你们有什么办法处理

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue asks nine broad questions about AndFix versions, andfix.so, Android 7.0, thread constraints, patch delivery, ROM compatibility, and crash risks. Start by separating these questions into focused documentation topics and checking the linked HotFix documentation. Done would require maintainer-confirmed answers or documentation updates for the stated scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.