#Can't build Flutter Android project due to incompatible kotlin versions of appwrite required deps

1 messages · Page 1 of 1 (latest)

thick widget
#

I created a brand new project, installed appwrite dependency and build the application it returns an error

e: C:/Users/laure/.gradle/caches/transforms-3/37a505752fc1e8a34e8d7cd4ae9aacd8/transformed/jetified-kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: C:/Users/laure/.gradle/caches/transforms-3/37a505752fc1e8a34e8d7cd4ae9aacd8/transformed/jetified-kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: C:/Users/laure/.gradle/caches/transforms-3/37a505752fc1e8a34e8d7cd4ae9aacd8/transformed/jetified-kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: C:/Users/laure/.gradle/caches/transforms-3/47409b2e736f1681faac74780d7f27e7/transformed/jetified-kotlin-stdlib-common-1.8.22.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: C:/Users/laure/.gradle/caches/transforms-3/a4c1c8e5330c7e97e2ee881d6fab841f/transformed/core-1.10.1-api.jar!/META-INF/core_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.```

Flutter version:

Flutter 3.19.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision bae5e49bc2 (4 months ago) • 2024-02-13 17:46:18 -0800
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1


kotlin version in my `android\settings.gradle` was `1.7.10`
#

I then change the kotlin version to 1.6.0 and it still the same