My flutter app working fine but after I try to get SHA-1 key it unfort.netly 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
In Android Studio use:
Ctrl + Shift + F
Find all your plugins' ext.kotlin_version
version.
and make sure they're version 1.5.20 and higher.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.