概述
Lint found fatal errors while assembling a release target.
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
}
}
…
编译的时候没有问题 打包的时候出现错误
接下需要找到 Android项目下的build.gradle(Moudle:app)
添加如下语句即可:
lintOptions {
checkReleaseBuilds false
abortOnError false
}
最后
以上就是超帅宝马为你收集整理的Android studio 打包问题:Lint found fatal errors while assembling a release target.的全部内容,希望文章能够帮你解决Android studio 打包问题:Lint found fatal errors while assembling a release target.所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复