Execution failed for task ':app:mergeLocalDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
> Resource compilation failed. Check logs for details.
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
记录一次异常信息:
错误原因就是项目中使用了 dataBinding,然后在布局文件中添加了重复的配置像这样:
随便删除一个就可以了