[英]How do I easily obfuscate an Android app when using IntelliJ IDEA?
I imagine there are two options: 我想有两种选择:
Build a parallel ANT script and bypass the IDE (seems pretty inefficient when the IDE is so good) 构建一个并行的ANT脚本并绕过IDE(当IDE非常好时,效率非常低)
Somehow integrate Proguard/yGuard or similar with IntelliJ 以某种方式将Proguard / yGuard或类似功能与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. 我已经尝试将Proguard / yGuard的插件安装到IntelliJ中,但似乎都没有工作(安装好,但不会出现在Facets下),实际上我并不是100%确定这些插件会帮助我混淆或是否只是提供用于调试的去混淆工具。
I figure ANT is the best route, but would appreciate your thoughts. 我认为ANT是最好的路线,但会很感激你的想法。 I just want a way to reduce the chances of someone reverse-engineering apps, but without spending hours setting it up.
我只想要一种方法来减少某人对应用程序进行逆向工程的机会,但不需要花费数小时来设置它。
I'd vote for 1st option - write an ANT script. 我投票给第一个选项 - 写一个ANT脚本。 This has the advantage of being independent of the IDE, even a build server can run it easily.
这具有独立于IDE的优点,即使构建服务器也可以轻松运行它。
One thing you could do is just open the project in Eclipse by creating a new project from existing sources. 您可以做的一件事就是通过从现有源创建一个新项目来在Eclipse中打开项目。 The two IDEs play quite nicely with each other.
两个IDE相互配合得非常好。 Many teams use both and go back and forth between them.
许多团队使用它们并在它们之间来回切换。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.