-dontwarn com.evernote.android.state.** -keep class com.evernote.android.state.** { *; } -keep class **$$StateSaver { *; } # generated class names -keepclasseswithmembernames class * { @com.evernote.android.state.State ;} -keepclasseswithmembernames class * { @com.evernote.android.state.StateReflection ;} # only keep non-private fields, there must be a getter / setter for private fields #-keepclassmembers class * { # @com.evernote.android.state.State !private ; #} # with reflection always keep the name of the field -keepclassmembers class * { @com.evernote.android.state.StateReflection ;}