Outdated Kotlin Runtime warning in Android Studio

前端 未结 15 1649
温柔的废话
温柔的废话 2020-11-29 19:43

After downloaded and installed latest Kotlin plugin I have Outdated Kotlin Runtime warning from Android Studio that telling me:

Your

15条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 20:49

    I was facing same problem after updation my android studio from 3.0.1 to 3.2.1.My problem was solved after using this.

    buildscript {
    ext.kotlin_version = '1.2.51'
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url "https://jitpack.io" }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
    

    }

提交回复
热议问题