FAILURE: Build failed with an exception.
What went wrong: Execution failed for task \':app:lintVitalRelease\'.
Coul
I have found a solution mentioned here
I got this problem in Android Studio 4.0 when I did a Gradle sync. I fixed it by doing the following:
Open top-level build.gradle and change the gradle classpath to:
classpath 'com.android.tools.build:gradle:4.0.0'
Open gradle\wrapper\gradle-wrapper.properties and change the distribution URL to:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
.idea\jarRepositories.xml from a new projectHere's my new flutter project jarRepositories.xml, you can get your own.
No idea how or why, but it worked for me