https://github.com/achellies/ultron
Another Android Real-time Hotfix Based Instant Run
https://github.com/achellies/ultron
android android-instantrun hotfix
Last synced: 2 months ago
JSON representation
Another Android Real-time Hotfix Based Instant Run
- Host: GitHub
- URL: https://github.com/achellies/ultron
- Owner: achellies
- Created: 2016-10-26T14:02:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-07T01:40:46.000Z (about 9 years ago)
- Last Synced: 2025-02-01T18:11:18.840Z (11 months ago)
- Topics: android, android-instantrun, hotfix
- Language: Java
- Homepage:
- Size: 1.86 MB
- Stars: 20
- Watchers: 9
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 奥创 (Ultron)
------
基于Android InstantRun 方案的即时生效的热补丁方案, 取名为奥创(漫威漫画里的奥创有着超强的创伤愈合能力)
> 奥创(Ultron)是美国漫威漫画旗下超级反派,首次登场于《复仇者联盟》(Avengers) 第54期(1968年7月),拥有由艾德曼合金(和金刚狼的钢爪属同种金属)打造的机械身躯和超强的创伤愈合能力,并能够根据对手的特点而自我更新程序并进化出克制对手的强大能力。
> Android InstantRun 相关的代码可以参考 https://android.googlesource.com/platform/tools/build
## 目前完成的功能
* 实时修复
* 良好的兼容性
* API最低支持15 (理论上更低也支持,只是木有验证, 从代码原理上应该支持)
* 自动化生成补丁
* 运行时期的补丁加载相关逻辑
* 支持ProGuard
## 目前"缺点"
* 只能对已经存在的方法进行实时修复(当然包含构造方法), 但不能通过新增Field、Method、Constructor的方式进行,只能在原有的Method中进行
* 补丁加载逻辑待完善
## 待完成的功能
* 补丁的安全性保证