Fix the issues identified by lint, or create a baseline to see only new errors:

陈德彪 / 2024-09-19 / 原文

编译APK出错:

Fix the issues identified by lint, or create a baseline to see only new errors:
android {
  lint {
    baseline = file("lint-baseline.xml")
  }
}

解决方案:
点击Android Studio下面的Terminal,执行命令./gradlew lintRelease查看原因