[!] Your project requires a newer version of the Kotlin Gradle plugin.
Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update
C:UsersMR_KABUTEYYDesktopFluttersmoke_detectorandroidbuild.gradle:
ext.kotlin_version = '<latest-version>'
i tried to download the new gradle version but still didn’t work out
2
Answers
Add this ext.kotlin_version = ” (add latest version)at build.gradle and change the current kotilin version to gradle.properties file also. Make sure check minsdk version above 21 and complied SDK version 33. Try this
Just open your
android
dir in Android Studio, it will analyse it and recommend you the upgrade.