简体   繁体   English

如何在Intellij IDEA中运行Proguard

[英]How to run Proguard in Intellij IDEA

I'd like to run Proguard on my Android app whenever I compile with Intellij. 每当我使用Intellij进行编译时,我都希望在Android应用程序上运行Proguard。 I've uncommented the magic line in project.properties , but the proguard folder is not created when I compile my app, and exception stack traces are not obfuscated . 我没有注释 project.properties 的魔术行 ,但是在编译应用程序时不会创建proguard文件夹 ,并且不会混淆异常堆栈的痕迹。

What is the simplest way to run Proguard at every compile in Intellij IDEA? 在Intellij IDEA中每次编译时运行Proguard的最简单方法是什么?

我在项目设置下创建了一个带有run ProGuard的工件,然后使用该工件而不是make创建了一个新配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM