- Detected multiple Kotlin daemon sessions at build/kotlin/sessions
- was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0.
- Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0.
- Execution failed for task ':react-native-screens:compileDebugKotlin'.
Agregar en el siguiente archivo "/android/build.gradle" la versión de kotlin en "buildscript/ext" y en "dependencies", abajo de "com.android.tools.build:gradle" agregar "org.jetbrains.kotlin:kotlin-gradle-plugin".
buildscript {
ext {
kotlin_version = '1.6.10'
...
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.0.4")
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
...
}