0

I have been trying to run my flutter app through an emulator but I end up getting an error in the app/build.gradle section. Below is the error message, any insights to this will help

  • What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin 'kotlin-android'. > The current Gradle version 6.7 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.7.1 or newer, or the previous version of the Kotlin plugin.
1
  • You can find the solution here Commented Aug 3, 2022 at 10:32

1 Answer 1

1

Go to android folder in the project ==> gradle ==> gradle-wrapper.properties then change the distributionUrl to ==> distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-all.zip

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.