Execution failed for task ':app:lintVitalRelease'. Flutter
Upgrading gradle build tools seems to break some lints.
To fix this you can:
If your error says debug/libs.jar, build --debug then --release.
If your error says profile/libs.jar, build --profile then --release.
from https://github.com/flutter/flutter/issues/58247#issuecomment-636500680
If the above doesn't work you can disable the check.
Add checkReleaseBuilds false
in lintOptions
in the android/app/build.gradle file.
android {
...
lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false //<- add this line
}
}