Android bug 记录:
Lint found fatal errors while assembling a release target.
To proceed, either fix the issues identified by lint, or modify your build script as follows:
...
android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
...
如下图:
解决方法,去到 app 下面的 build .gradle 里面,加入下面的代码:
lintOptions {
checkReleaseBuilds false
abortOnError false
}
如下图所示: