seems to work fine In later versions of Gradle you no longer need to specify the version of your kotlin(stdlib|reflect|test) dependencies, the Kotlin plugin will automatically configure them for you. As for extracting the dependency to a single place, there are two main patterns:
val kotlinVersion by System.getProperties()
println("Kotlin version is $kotlinVersion")
Kotlin room database crash on kotlin 1.2.40 version
I hope this helps you . You can downgrade by downloading a plugin zip corresponding to your android studio version here: http://plugins.jetbrains.com/plugin/6954-kotlin And use Settings | Plugins | Install plugin from disk and select the downloaded zip file.
ANDROID: org.gradle.api.GradleException: Cannot find a version of 'org.jetbrains.kotlin:kotlin-stdlib' that satisfies th
I hope this helps . Some libraries will require particular versions of Kotlin, typically if they depend upon newer language features (e.g., coroutines in Kotlin 1.3). In your case, androidx.room:room-testing:2.1.0-alpha04, through its androidx.room:room-migration:2.1.0-alpha04 dependency, wants Kotlin 1.3.0 or higher, but your project is set for Kotlin 1.2.71.