kotlin databinding 资源文件报错
报错信息
Error:Execution failed for task ‘:app:compileDebugJavaWithJavac’.
android.databinding.tool.util.LoggedErrorException: failure, see logs for details.
Exception while handling step [email protected]5d5
出现报错原因:
在布局文件中直接写入中文
解决方法:
改用英文或者引用string.xml。在string.xml中写入中文