In Mac, I've setup Flutter in Android studio. When I'm running project it gives me error
* What went wrong:
Execution failed for task ':location:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
I'm using all latest versions of Flutter, Kotlin, Gradle etc.
You need to equalize kotlin version in first row which is
ext.kotlin_version = '1.6.10'
to according toclasspath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
of underlined$kotlin_version
After this, the problem will solve...