An open API service indexing awesome lists of open source software.

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

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中进行
* 补丁加载逻辑待完善

## 待完成的功能
* 补丁的安全性保证