Error:Execution failed for task 'xxx'.
> 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中添加如下代码,重新Generate Signed APK
android{
lintOptions {
checkReleaseBuilds false
abortOnError false
}
}
作者:sybil052
链接:https://www.jianshu.com/p/c6ad9207e476
来源:简书