I don't use kotlin in my current a project, but always showing following warning:
When I click to "Update runtime" will be show following popup:
And here dependencies who i used:
Anybody know how to solve this google trick?
**Edit
This is bug of Android studio, because i don't using kotlin. If any body will be any idiom how to fix it can add extra answer to this a question
Update to a new release You can check the Kotlin version in Tools | Kotlin | Configure Kotlin Plugin Updates. If you have projects created with earlier Kotlin versions, change the Kotlin version in your projects and update kotlinx libraries if necessary.
In your Android studio, Go to Tools -> Kotlin -> Configure Kotlin Updates. Save this answer.
The Kotlin plugin is bundled with each Android Studio release. However, it still needs to be updated to the latest version to avoid compatibility issues. To update the plugin, on the Android Studio welcome screen, select Plugins | Installed. Click Update next to Kotlin.
Add this into your build.gradle (Project)
buildscript {
ext.kotlin_version = '1.1.60'
repositories {
google()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
And this code into your build.gradle (Module)
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
dependencies {
implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
}
This will update your Kotlin version. You can find more in Kotlin Targeting Android
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With