-
Notifications
You must be signed in to change notification settings - Fork 116
Description
The library throwing an IllegalStateException when trying to load svg images from String.
java.lang.IllegalStateException: Picture already recording, must call #endRecording()
at android.graphics.Picture.beginRecording(Picture.java:83)
at com.pixplicity.sharp.Sharp$SvgHandler.startElement(Sharp.java:1768)
at org.apache.harmony.xml.ExpatParser.startElement(ExpatParser.java:147)
at org.apache.harmony.xml.ExpatParser.appendBytes(Native Method)
at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:517)
at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:478)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:316)
at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:279)
at com.pixplicity.sharp.Sharp$SvgHandler.read(Sharp.java:1328)
at com.pixplicity.sharp.Sharp.getSharpPicture(Sharp.java:407)
at com.pixplicity.sharp.Sharp.getSharpPicture(Sharp.java:429)
at com.pixplicity.sharp.Sharp.getDrawable(Sharp.java:374)
at com.pixplicity.sharp.Sharp.into(Sharp.java:325)