Open kunalqss opened 6 years ago
Same issue as #10.
Can you try what is suggested in this comment?
Hello, Getting the same issue, I'm using the gradle version 3.4.0. using code "android.disableResourceValidation=true" error is gone but when you create the assemple release it throws an error. Please look into it.
Thanks
This is may be because of https urls, if you are using http links it won't render and same for local svg files , which is considered as local http for source inside webview.
Might be a chance ... Try your svg to render from your (https)server or make it to render from clouds like amazon buckets...
I tried this library for an Android app and it rendered svg icons just fine for the debug build. Then i tried to create a release apk, but it gave me an error 'filename must end with xml or png.' So I used
"android.disableResourceValidation=true"
in gradle.properties, and the error messages were gone.However, when i run my app, I don't see any svg icons, just a blank area.