coil-kt / coil

Image loading for Android and Compose Multiplatform.
https://coil-kt.github.io/coil/
Apache License 2.0
10.84k stars 665 forks source link

"java.lang.IllegalStateException: Unable to create a fetcher that supports" in MIUI Global 14.0.12 with Compose #2171

Closed joaovictor7 closed 8 months ago

joaovictor7 commented 8 months ago

Describe the bug Specific Image links not loaded in Xiaomi device. Analyzing the error log state, java crash appers. In anothers devices, images load normally

To Reproduce Urls that not work: https://picsum.photos/1024 https://github.com/ImageGlass/sample-images/blob/master/Samples/JPG/memory_leak/7e1f4c50-73b5-11e6-94ab-e1e021600a6a.jpg?raw=true https://dummyimage.com/600x400/000/fff.png&text=hello

Urls that work: https://www.gstatic.com/webp/gallery/1.jpg https://www.gstatic.com/webp/gallery/3.jpg

How to actually implemented:

image

Logs/Screenshots StackTrace:

image

Version Coil Compose version: 2.6.0 Device: Xiaomi 13 Lite Android API version: 13 TKQ1.220829.002 MIUI version: MIUI Global 14.0.12 Gradle Plugin version: 7.1.3 Gradle version: 7.4.2 Kotlin Compiler Extension version = 1.4.4

joaovictor7 commented 8 months ago

I found the error.. Was incorrect data in this phone.. sorry for the unnecessary issue.