如何检查/升级Proguard的版本WHN在Eclipse中使用它的Andr​​oid开发?它的、版本、WHN、Proguard

由网友(回憶揮之不去)分享简介:在这个文档是非常差。据我所知,ProGuard的可以通过手动编辑在项目的腐目录default.properties被启用。而且所有的设置开始在同一个地方的proguard.cfg文件,但我想知道哪些ProGuard的版本正在使用(我使用Eclise靛蓝)。我也希望能够每当被释放到其升级到最新版本。但我无法找到如何做到这...

在这个文档是非常差。据我所知,ProGuard的可以通过手动编辑在项目的腐目录default.properties被启用。而且所有的设置开始在同一个地方的proguard.cfg文件,但我想知道哪些ProGuard的版本正在使用(我使用Eclise靛蓝)。我也希望能够每当被释放到其升级到最新版本。但我无法找到如何做到这一点的任何引用。

The documentation on this is extremely poor. I understand that ProGuard can be enabled by manually editing "default.properties" in the project's rot directory. And all the settings go into the "proguard.cfg" file in the same place, but I'd like to know which version of ProGuard is being used (I'm using Eclise Indigo). I would also like to be able to upgrade it to the latest versions whenever the are released. But I can't find any reference on how to do it.

推荐答案

ProGuard的罐子位于Android SDK的内部:Android的SDK /工具/ ProGuard的/ lib目录/ proguard.jar

The ProGuard jar is located inside the Android SDK: android-sdk/tools/proguard/lib/proguard.jar

您可以打印出它的版本号与

You can print out its version number with

java -jar android-sdk/tools/proguard/lib/proguard.jar

(用正确的路径)。如果有必要,可以替换JAR (实际上,整个 ProGuard的子目录中)与最新版本的的

阅读全文

相关推荐

最新文章