Comments (1)
知乎有相关回答,如果两次版本的混淆结果差别很大,应该还是可以diff的只是patch包会大一些。
2)混淆问题
现在大部分应用都会对自己做混淆,一方面是起到压缩安装包效果,另一方面是起到保护作用,避免代码逻辑被反编译。
混淆带来的一个坑就是同一个类,在不同时期,混淆的文件都不一样了。
比如Test.java
在1.0版本
Test.java -> a.java
在1.1版本
Test.java -> b.java
从而导致生成的patch包都非常大(a.java和b.java在程序的眼里是两个不同的文件)。
因此,我们在做混淆时,一般都要确保前后版本混淆一致。但外部应用,由于不受控制,所以,没法保证。(小tips:从这里看出做开发时,混淆前后一致的重要性)
作者:Jianjian Xiao
链接:https://www.zhihu.com/question/51888647/answer/127983295
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
from smartappupdates.
Related Issues (20)
- 增量升级的MD5校验问题 HOT 1
- so文件32 64位版本冲突? HOT 2
- 怎么编译DLL文件?
- 关于在x86 版本的android貌似加载不了so文件! HOT 2
- 差量更新对Android的版本是否有限制?
- 导入eclipse后运行demo报错 HOT 1
- 直接对apk文件进行diff并没有发挥出该算法的优势 HOT 3
- 生成so库的时候报错 HOT 1
- 编码问题 HOT 1
- 不知道有没有react native的demo
- 第三方so库,jar库升级影响 HOT 1
- 在android 7.0系统上.patch文件打不开 HOT 3
- dlopen failed: cannot locate symbol "__fwrite_chk" referenced by 错误 HOT 1
- iOS有类似的差量更新方案吗?
- 多渠道可以支持么 HOT 1
- demo工程已经比较老了
- 版本问题 HOT 5
- 生成so包得时候怎么老是报这个错误 HOT 9
- 资源混淆候有没有影响 HOT 1
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 smartappupdates.