使用 IntelliJ IDEA 时如何轻松混淆 Android 应用程序?
我想有两种选择:
构建并行 ANT 脚本并绕过 IDE(当 IDE 非常好时,似乎效率很低)
以某种方式将 Proguard/yGuard 或类似的东西与 IntelliJ 集成
我已经尝试将 Proguard/yGuard 的插件安装到 IntelliJ 中,但似乎都不起作用(安装正常) ,但不会出现在 Facets 下),实际上我并不能 100% 确定这些插件会帮助我进行混淆,或者它们是否只是提供用于调试的反混淆工具。
我认为 ANT 是最好的路线,但很感激您的想法。我只是想要一种方法来减少有人对应用程序进行逆向工程的机会,但无需花费数小时进行设置。
I imagine there are two options:
Build a parallel ANT script and bypass the IDE (seems pretty inefficient when the IDE is so good)
Somehow integrate Proguard/yGuard or similar with IntelliJ
I've tried installing plugins for Proguard/yGuard into IntelliJ but neither seem to be working (installed ok, but don't appear under Facets), and actually I'm not 100% sure these plugins will help me obfuscate or whether they just provide a de-obfuscation facility for debugging.
I figure ANT is the best route, but would appreciate your thoughts. I just want a way to reduce the chances of someone reverse-engineering apps, but without spending hours setting it up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我投票支持第一个选项 - 编写 ANT 脚本。这样做的优点是独立于 IDE,即使是构建服务器也可以轻松运行它。
I'd vote for 1st option - write an ANT script. This has the advantage of being independent of the IDE, even a build server can run it easily.
您可以做的一件事就是通过从现有源创建一个新项目来在 Eclipse 中打开该项目。这两个 IDE 可以很好地配合。许多团队都使用这两种方法,并在它们之间来回切换。
One thing you could do is just open the project in Eclipse by creating a new project from existing sources. The two IDEs play quite nicely with each other. Many teams use both and go back and forth between them.