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

SVG rendering issues #5381

Open
jiaoyongzhi opened this issue Mar 18, 2024 · 0 comments
Open

SVG rendering issues #5381

jiaoyongzhi opened this issue Mar 18, 2024 · 0 comments

Comments

@jiaoyongzhi
Copy link

implementation 'com.github.bumptech.glide:glide:4.16.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
implementation 'com.caverock:androidsvg:1.4'

: Load failed for [https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_2.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=TQWsiD%2BQ0etVZ%2B%2BusnECtLQlS%2B0%3D] with dimensions [1080x2287]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->PictureDrawable}, REMOTE, https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_2.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=TQWsiD%2BQ0etVZ%2B%2BusnECtLQlS%2B0%3D
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->SVG->PictureDrawable}
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class java.io.IOException: Cannot load SVG from stream
2024-03-18 15:57:40.872 30012-30012/com.qingxun.translationdog W/Glide: Load failed for [https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_1.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=xv%2BbhmLaVuaklIGWzeqCHkZvKV4%3D] with dimensions [1080x2287]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->Object->PictureDrawable}, REMOTE, https://pdf-img-172.oss-cn-hangzhou.aliyuncs.com/GC_aabb0d0d-0dd9-411f-b546-5fcd3b917443_toImg_1.svg?Expires=1710835048&OSSAccessKeyId=LTAI5tPjkAz1ACvr7rp9trNm&Signature=xv%2BbhmLaVuaklIGWzeqCHkZvKV4%3D
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->SVG->PictureDrawable}
There was 1 root cause:
java.io.IOException(Cannot load SVG from stream)
call GlideException#logRootCauses(String) for more detail
Cause (1 of 1): class java.io.IOException: Cannot load SVG from stream

Failed to render SVG in demo

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

1 participant