Error: Execution failed for task ‘:app: lintVitalRelease’ any one can solve it?

Based off this Post

Edit:
I removed the link because the thread is no longer there

What you need to do is add this chunk of code to your build.gradle file
in the android{} section

lintOptions { 
    checkReleaseBuilds false
}

So like this

android {
    ...
    lintOptions {
        checkReleaseBuilds false
    }
}

Update:

Here is another post talking about a similar problem. It seems like there are various reasons this error can occur. While disabling the checkReleaseBuilds will work. It’s recommended to find what the problem is and fix it. Most common error seems to be missing translations in the strings.xml file.

I recommend checking out this post for more help

Error when generate signed apk

Leave a Comment