You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: