Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release

Specific error

Execution failed for task ':usbCameraTest:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

terms of settlement

Add in build.gradle:

android {

	lintOptions {
		checkReleaseBuilds false
		abortOnError false
	}

Read More: