发现VectorDrawableCompat错误时停止构建

问题描述

当ImageView不使用带有VectorDrawableCompat的app:scrCompat时,有什么方法可以停止构建过程吗?

!Android Studio shows it properly] 1

但是该项目和Lint成功构建。我尝试过

    android {
        lintOptions {
            checkAllWarnings true
            warningsAsErrors true
        }
    }

但是结果是一样的,我想用这种错误停止我的CI / CD进程。有可能吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)