Android proguard, keep inner class

Try adding InnerClasses to the keep attributes. e.g:

-keepattributes Exceptions, InnerClasses, ...

Also, try adding a body to the “keep” call with an asterisk, like so:

-keep class com.xxx.A$* {
    *;
}

Leave a Comment