Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher

My flutter app working fine but after I try to get SHA-1 key it unfortunetly it show following error : The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':location' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20

    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
        classpath 'com.google.gms:google-services:4.3.14'
    }

My kotlin gradle plugin are updated

like image 689
Krishnapal Sendhav Avatar asked Jan 27 '26 14:01

Krishnapal Sendhav


1 Answers

In Android Studio use:

Ctrl + Shift + F

Find all your plugins' ext.kotlin_version version.

Find all ext.kotlin_version

and make sure they're version 1.5.20 and higher.

like image 162
Forest Chang Avatar answered Jan 30 '26 03:01

Forest Chang