Proguard源码分析(二)输出文件

ProGuard outputs thefollowing files after it runs:

dump.txt···描述apk文件中所有类文件的内部结构

 PrintStream ps = createPrintStream(configuration.dump);
try{
    programClassPool.classesAccept(new ClassPrinter(ps));
}

mapping.txt···列出了类、方法、成员的原貌与混淆后的映射表。在收到错误报告时,可以用它翻译混淆后的堆栈信息。

-printmapping

seeds.txt···列出未混淆的类与成员

-printseeds

usage.txt···列出从apk中清除的无用代码

-printusage

猜你喜欢

转载自1025250620.iteye.com/blog/1965525