Issue
Recently I was unable to compile my app because functions like substringAfter or .let {} gives unresolved reference error
Upgrading kotlin-gradle-plugin
to 1.6.0 works fine but jetpack compose doesn't support it.
What cause the unresolved reference in kotlin 1.5.31 in android studio I just don't understand
My gradle looks like
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
Solution
Compose as of December 1, 2021
supports kotlin 1.6.0 so I updated my dependencies LINK
kotlin-plugin
to 1.6.0
compose_version
to 1.1.0-beta04
Answered By - Emmanuel Mtali
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.