难道Proguard的担保提供相同的映射,如果没有源发生了变化? [英] Does Proguard guarantee to provide the same mapping if no source has changed?
本文介绍了难道Proguard的担保提供相同的映射,如果没有源发生了变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在这种情况下,只要我愿意,
In the case, if I will
- 在建项目
- 在清理所有的二进制文件
- 重新构建它(没有源/资源等发生了变化)。
请问Proguard的担保提供相同mapping.txt文件?
Does Proguard guarantee to provide the same mapping.txt file?
推荐答案
ProGuard的是确定的:对于相同的输入,将产生相同的输出
ProGuard is deterministic: for the same input, it will generate the same output.
有一个微妙之处虽然:如果操作系统列出在目录中以不同的顺序(即不是一个存档内显着类文件)的输入文件,则它们可以以不同的顺序进行处理,并输出可以是不同的。
There is one subtlety though: if the operating system lists input files in a directory (notably class files that are not inside an archive) in a different order, then they may be processed in a different order, and the output can be different.
这篇关于难道Proguard的担保提供相同的映射,如果没有源发生了变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文