Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No images rendered in release APK #14

Open
kunalqss opened this issue Apr 25, 2018 · 3 comments
Open

No images rendered in release APK #14

kunalqss opened this issue Apr 25, 2018 · 3 comments

Comments

@kunalqss
Copy link

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.

@seekshiva
Copy link
Owner

Same issue as #10.

Can you try what is suggested in this comment?

@joshi-anshul
Copy link

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

@ganesh-papola
Copy link

ganesh-papola commented Jan 3, 2020

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants