Can anyone help in <here>, I am facing the same is...
# multiplatform
s
Can anyone help in here, I am facing the same issue.
ł
which version of kotlin, gradle are you using?
s
@Łukasz Nowakowski
Kotlin version 1.6.10
com.android.tools.build:gradle:7.0.4
ł
@Sandeep Dhami you have also gradle for project in gradle-wrapper.properties like below. What version do you have here?
Copy code
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
s
@Łukasz Nowakowski
Copy code
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
ł
@Sandeep Dhami they look quite old. Try to update kotlin to 1.8.10, gradle to 7.6.0-bin.zip and com.android.tools.build:gradle to 7.4.2 + ktor to 2.3.1. If you are using coroutines then also try the latest version
s
@Łukasz Nowakowski I am currently using kotlin synthetics, and will not be able to update it in next 3 to 4 months, hence wont be able to use kotlin 1.8.10. Any possible reason why am getting this error?
ł
@Sandeep Dhami I think this is because version 1.x and version 2.x have big changes https://ktor.io/docs/migrating-2.html
s
so is updating to the above metnioned gradle to latest version is the only solution
ł
Try to update ktor to version https://github.com/ktorio/ktor/releases/tag/1.6.8 with others to have the same versions ( gradle, kotlin etc. )
s
sure , let me try
v
Hi, I'm also facing the same, is this issue resolved?