简体   繁体   English

使用IntelliJ IDEA实施ProGuard并测试结果问题

[英]Implementing ProGuard and testing outcome issues using IntelliJ IDEA

I'm using IntelliJ IDEA to develop for Android. 我正在使用IntelliJ IDEA为Android开发。

Now I want to introduce ProGuard. 现在我要介绍ProGuard。 IntelliJ allows me to export signed or unsigned package with ProGuard - so this is cool. IntelliJ允许我使用ProGuard导出已签名或未签名的程序包-这很酷。 My problem is workflow very painful. 我的问题是工作流程非常痛苦。 I need to: 我需要:

  1. Export package. 出口包装。
  2. Email package to device. 通过电子邮件将软件包发送到设备。
  3. Install on device. 在设备上安装。
  4. Watch for errors (and there is lot of issues) 注意错误(并且有很多问题)

I want to somehow implement one-click deployment to dev device of obfuscated package. 我想以某种方式将一键部署部署到混淆包的dev设备。 How do I do this? 我该怎么做呢?

Normally, I just click "Run" or "Debug" within IDE - but it doesn't use ProGuard. 通常,我只是在IDE中单击“运行”或“调试”-但它不使用ProGuard。

You can automate it using a command line script and run it as an external tool from IntelliJ IDEA. 您可以使用命令行脚本将其自动化,然后从IntelliJ IDEA作为外部工具运行它。

Check the answer to this question for details . 有关详细信息,请查看此问题答案

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

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