📌  相关文章
📜  任务 ':app:lint' 执行失败. > Lint 基础设施错误 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:18.386000             🧑  作者: Mango

代码示例1
I faced this problem too. Sometimes the version of plugin, gradle and SDK Build tools are not compatible. For example plugin version 4.2.0 only support gradle version 6.7.1 and SDK Build Tools 30.0.2. If you use lower version of SDK or gradle, you would get error in compilation time. For more information you can referee to this reference. My problem resolved by updating the version of plugin to 4.2.2 , gradle to gradle-6.7.1-all , compileSdkVersion to 30 and finally targetSdkVersion to 30