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

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release(相关的知识,希望对你有一定的参考价值。

  • 具体错误
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.

  • 解决办法

在build.gradle中添加:

android {

	lintOptions {
		checkReleaseBuilds false
		abortOnError false
	}

以上是关于Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release(的主要内容,如果未能解决你的问题,请参考以下文章

Execution failed for task ':app:processDebugResources'

Execution failed for task ':compileDebugAidl'.

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

Android 报错:Execution failed for task ‘:app:compileDebugJavaWithJavac‘

Error:Execution failed for task app怎么解决

Execution failed for task ‘:xxx:generateReleaseRFile‘.