Open GoogleCodeExporter opened 8 years ago
I found two workarounds for the issue in case anyone finds this:
1. Keep affected classes AND inner class attributes
# See com.caverock.androidsvg.CSSParser.selectorMatch
-keepnames class * extends com.caverock.androidsvg.SVG$SvgElementBase
# Needed for Java to be able to decipher "SVG$Line" into "Line" when calling getSimpleName()
-keepattributes InnerClasses
2. Use a mapping file to explicitly rename classes
This option doesn't require InnerClasses, but not futureproof at the same time.
# See com.caverock.androidsvg.CSSParser.selectorMatch
# Rename classes extending SvgElementBase explicitly to be directly in a package instead of an inner class
-applymapping mapping.txt
Original comment by papp.robert.s
on 7 May 2015 at 11:46
Attachments:
Original issue reported on code.google.com by
papp.robert.s
on 7 May 2015 at 11:40Attachments: