Android Question SVG Lib with SDK 28

renemo

Member
Licensed User
Longtime User
Hi

I compile apps with iSVG in SDK 28 but it's some problem occure. In previous SDK i don't have any problem. Is something change in SDK 28 and due this iSVG generate error ?
Is it enable any other SVG lib ?
 

renemo

Member
Licensed User
Longtime User
I change on SVG Library but i got error
com.larvalabs.svgandroid.SVGParseException: java.lang.NumberFormatException: For input string: "210mm"

In svg lines:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="148mm"
viewBox="0 0 744.09452 524.40946"
id="svg2"
version="1.1"
inkscape:version="0.92.1 r15371"
sodipodi:docname="piorko2.svg">
<defs


So its seems that SVG format not accepted
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…