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



