This is strange: I upgraded to Kotlin 2.0.0-RC1 for shared resources.
But got an error utilizing the shared font(drawable works fine).
Caused by: java.lang.IllegalStateException: Unable to load font Font
Downgraded back to Kotlin 1.9.23 then only the shared font worked.
Anyone experienced similar??
y
youssef
04/22/2024, 1:35 PM
rebuilding the project should resolve the issue
β 1
s
Sijan Neupane
04/22/2024, 1:51 PM
that didn't help!
p
Pavel S
04/22/2024, 3:58 PM
Itβs not strange that something breaks when you update kotlin version in a kmp project, unfortunately π. It would be strange if you updated it and everything built perfectly fine