【问题标题】:dexguard: encryptstrings in Activity classes?dexguard:活动类中的加密字符串?
【发布时间】:2014-01-18 09:19:09
【问题描述】:

dexguard:-encryptstrings 命令可以与 Activity 类一起使用吗?

我问是因为它在使用时对我不起作用

-加密字符串

公共类 com.example.my.MainActivity

-加密字符串

com.example.**MainActivity

蚂蚁日志也说:

"加密字符串引用数:0"

【问题讨论】:

  • 为什么要混淆一个活动类。如果你愿意,你可以使用 progaurd。

标签: android obfuscation dexguard


【解决方案1】:

是的,您可以加密指定类中的所有字符串,例如

-encryptstrings class com.example.my.MainActivity

如果它似乎不适用于您的代码,您可以联系我们了解更多详情。

(我是 ProGuard 和 DexGuard 的开发者)

【讨论】:

  • 我正在尝试基本了解如何使用文件 dexguard-project.txt 中的命令 -encryptstring 指定字符串加密。比如我看到-encryptstrings "android.content.pm.PackageInfo", "packageName", "versionName", ... 是什么意思?
  • -encryptstrings 在我这边不起作用..您从哪个版本引入了 encryptstrings ?
猜你喜欢
  • 2014-02-07
  • 1970-01-01
  • 2012-10-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-07-14
相关资源
最近更新 更多