Comments (3)
@terryyhl 哈,这部分还没写,但是逻辑上比较简单。
文档里已经给出了解决方案。
1. 在正式版本发布的时候,会生成一份缓存文件,里面记录了所有class文件的md5,还有一份mapping混淆文件。2. 在后续的版本中使用-applymapping选项,应用正式版本的mapping文件,然后计算编译完成后的class文件的md5和正式版本进行比较,把不相同的class文件打包成补丁包。
就是从有补丁功能的版本开始,保存一份mapping混淆文件,后续编译用同一个混淆mapping文件,这样就能保证混淆过后的类名始终是一致的。
这样打补丁混淆就能完全的自动化了。
from hotfix.
@terryyhl https://github.com/jasonross/Nuwa 已经把混淆做了
from hotfix.
fixed in RocooFix
from hotfix.
Related Issues (20)
- 关于替换了assets 下path_dex.jar 后无法修复的问题 HOT 8
- 只能修改原来的类? HOT 1
- 有个疑问 HOT 4
- MainActivity直接引用BugClass,不能修复,什么原因? HOT 1
- 混淆问题 HOT 1
- 使用gradle2.1.0 build失败 HOT 1
- 更改文本显示内容可以,但是点击事件的操作更改没有反应。 HOT 2
- 在Android系统为5.0以上的手机中可以运行,4.4.4崩溃 HOT 1
- android技术热修复qq群(561394234) HOT 1
- 编译出错 HOT 1
- 若有一个activity类需要修复,尝试dx打包之后不可以使用 HOT 3
- 热修复补丁管理控制台(后台代码 + 客户端集成sdk)https://github.com/baidao/tinker-manager HOT 1
- 一些疑问
- 关于混淆
- Androidx 后大签名包报错,改成gridle 3.2.0可以,如果是3.5.0就报错
- 支持app加固吗? HOT 2
- 是所有版本的android都支持么? HOT 2
- 适配问题
- 不明白为什么只给BugClass进行子节码注入,难道发版前就知道这个类要出问题吗? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotfix.