That almost certainly means you are somehow still pulling in an older version of the Kotlin compiler. Unfortunately, gradle makes it super hard to understand your dependencies and there are a variety of reasons old versions could get pulled in, so there isn't an easy catch-all answer here. Maybe try checking your
kotlinCompilerVersion
.
v
Vinay Gaba
12/13/2020, 11:13 PM
In my case, upgrading
nav_compose_version
to
1.0.0-alpha03
had fixed the problem when I upgraded to alpha08. Maybe try doing that with the latest version of the
paging_compose_version
as well. Are there any other compose dependencies you are using?
Thanks everyone for the help, the answer was both paging version which should be upgraded to alpha03, and also kotlinCompilerVersion which was pulling the wrong kotlin version. 🙏🙏