gpt4 book ai didi

android - 使用 IntelliJ IDEA 时,有什么简单的方法可以混淆 Android 应用程序吗?

转载 作者:搜寻专家 更新时间:2023-11-01 08:03:40 27 4
gpt4 key购买 nike

我在google和stackoverflow上搜索了一下,发现混淆的方法要么写一个ANT脚本,要么改成Eclipse。而且intellij idea的版本是12,有什么简单的方法吗?

最佳答案

IntelliJ IDEA 有一个方法,但它不太可能是“简单的方法”。

一方面,IntelliJ 文档 says :

Generating a Signed APK Through an Artifact

[...]

Step 8. To have IntelliJ IDEA obfuscate the application during packaging, select the Run ProGuard check box and specify the location of the proguard.txt configuration file. The file is generated during project creation and is stored in the project root. IntelliJ IDEA suggests this default location in the Config file path text box. Accept the suggestion or specify a custom configuration file by clicking the Browse button and selecting the required file in the dialog that opens.

但另一方面,标记为“混淆应用程序”的链接会将您带到 external blog post谈到使用 ant 脚本来混淆您的代码。

如果两个月前开发人员在该文档页面底部留下的评论具有代表性,那么 IntelliJ 给出的官方说明在他的情况下似乎甚至无法正常工作。所以我猜这就是为什么他们仍然链接到一个外部博客文章,该文章谈论以不同的方式做这件事。此外,如果他们的指示真的有效,他们真的不需要链接到谈论它的外部页面。

关于android - 使用 IntelliJ IDEA 时,有什么简单的方法可以混淆 Android 应用程序吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17387760/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com