1

I'm using progurad to get rid of some logging:

-assumenosideeffects class android.util.Log {
    public static int d(...);
    public static int v(...);
}

I don't want anything else to happen to any classes. In particular I don't want any obfuscation, since this is a library. The clients of the library will apply obfuscation themselfs.

Is there a way to tell proguard to do "nothing" except the -assumenosideeffects rule please?

4

1 回答 1

0

此选项在优化步骤中应用,因此您可以禁用收缩和混淆。您仍然需要提供 -keep 选项,例如 ProGuard 手册 > 示例 > 典型库。

于 2012-10-17T01:02:42.037 回答