项目打包的时候出现了以下错误:
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
}
}
出现这个是因为我们的代码中存在问题,那么好了,有问题就解决问题:
按照错误提示:you can continue to check for errors in release builds
我们打开项目中的build文件夹,然后找到这个html文件,
然后把这个html文件复制到桌面上,右击用浏览器打开,就会出现以下页面:
以上网页就展示了问题所正,知道了哪里出错改掉就好啦!