0
点赞
收藏
分享

微信扫一扫

打正式包的时候跳过错误检查

小月亮06 2023-03-16 阅读 78


build.gradle下的android中加入如下的话就可以了 但是是极其不建议加的  我之所以发这个博客 是因为有人加在了我接手的项目上 

我怎么在relase下运行也不报错 这样写的程序是有bug的

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
}}



举报

相关推荐

0 条评论