https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

CRUD Mehra

03/27/2024, 12:25 PM
How to resolve this issue Unresolved reference: Res
Copy code
Res.drawable.ic_facebook
Unresolved reference: <projectName>.composeapp.generated.resources.*
j

jw

03/27/2024, 12:46 PM
Try #compose which is for Compose multiplatform usage
1
c

CRUD Mehra

03/27/2024, 12:50 PM
Ok thanks
m

Max

04/01/2024, 4:32 PM
Wide guess, but i often run into caching issues with the new Resource-api. It works in general great, but sometimes it gets into a broken state where it cannot get out. Solution: Build -> Clean + Rebuild project Takes sometimes 5-10min, but afterwards all issues resolved. Maybe try it out
3 Views