http://proguard.sourceforge.net/index.html#/manual/troubleshooting.html
里面包含大量的常见问题。
另外在Android程序中常遇到的jar包被混淆的解决代码如下:
Fragment v4 Jar包
-keep class android.support.v4.*.* { *; }
Admob Jar包
-keep public class com.admob.android.*.* { public protected *; }
—常用的通配符—–
Fields and methods may also be specified using regular expressions. Names can contain the following wildcards:
? matches any single character in a method name.
* matches any part of a method name.
Types in descriptors can contain the following wildcards:
% matches any primitive type (“boolean”, “int”, etc, but not “void”).
? matches any single character in a class name.
* matches any part of a class name not containing the package separator.
** matches any part of a class name, possibly containing any number of package separators.
*** matches any type (primitive or non-primitive, array or non-array).
… matches any number of arguments of any type.