Flutter: Execution failed for task ‘:app:compileDebugKotlin’

Go to your build.gradle file in the root of your Android directory and upgrade your Kotlin_version to the latest. As of the time of typing this, the latest is 1.5.10, so it should look like this:

ext.kotlin_version = '1.5.10'

Leave a Comment