如何强制Proguard制作难以理解的.XML资源文件? [英] How can I force Proguard make my illegible .XML resource file?

查看:288
本文介绍了如何强制Proguard制作难以理解的.XML资源文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在android studio中使用了ProGuard来保护我的数据资源,因为其中有两个文件:res/raw/fiche.xml和res/raw/fiche1 .XML,所以我会将无法读取的文件的内容制成. 我的问题是如何使用Proguard使这两个文件不可读.

I used ProGuard in android studio to protect my data resources because I have two files in it: res / raw / fiche.xml and res / raw / fiche1 .XML so I'd make the content of my unreadable files. My question is how to make these two files unreadable with Proguard.

先谢谢您

推荐答案

ProGuard仅影响Java代码,不影响资源.您将需要研究可能提供资源混淆的其他工具,例如DexGuard.是否有 可以混淆raw资源的工具是另一回事.

ProGuard only affects Java code, not resources. You will need to research other tools, like DexGuard, that may offer resource obfuscation. Whether there is a tool that can obfuscate raw resources is another matter.

这篇关于如何强制Proguard制作难以理解的.XML资源文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆