Using AS Arctic Fox with Kotlin 1.4.20 and all my ...
# android
t
Using AS Arctic Fox with Kotlin 1.4.20 and all my collection methods have turned red, though it still builds. Anybody else see this?
b
Which ones? The
fast___()
methods (e.g.
fastMap
,
fastMaxBy
) have moved to a new artifact: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1606996054071400
t
listOf, split, find, map etc
b
Gotcha. No, I have not had that issue.
t
I have had something like it before and Invalidate Caches/Restart fixed it. This time it does not. 😞
m
There’s also an issue with the kotlin gradle plugin 1.4.20 and the safeargs plugin for navigation https://youtrack.jetbrains.com/issue/KT-43137 (in case you use it) which causes files being stuck in “analyzing” Not 100% sure if it is what you see though 😕
a
Does it help to clear caches manually as described in https://youtrack.jetbrains.com/issue/IDEA-245027? Also, try to delete .idea directory and do a Gradle reimport.
t
I updated to Kotlin 1.4.21, and either that or something else a Kotlin update causes seems to have fixed it for me. 😕