Replies: 1 comment
-
From the exception it looks like we're trying to load a unix path on Windows. This could either be an issue with Coil or the Compose Resources library. Going to convert this discussion into an issue to verify. #2833 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I program on a macbook, but now I've built a project for windows and now I don't have icons/images... (On other platforms (macOS, iOS, Android, WASM, JS) everything is OK).
Throws:
I guess the problem is that the project is multi-module and
Res.getUri("drawable/icons/${path}")
returns svg from a jar file. However, it still works on other platformsVery important: If I use url link from internet or put path to picture (not in jar) it works...
So... There is a crutch solution!
Make a separate Windows-only folder with resources and transfer it simply as a string
uri = "resources\\drawable\\icons\\${path}"
...... But I still believe there is a better solution.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions