android.databinding.tool.util.LoggedErrorException: Found data binding errors
16lz
2021-12-04
Execution failed for task ':app:compileDebugJavaWithJavac'.> android.databinding.tool.util.LoggedErrorException: Found data binding errors. ****/ data binding error ****msg:Cannot find the getter for attribute 'android:text' with value type double on android.widget.TextView. file:E:\Project\AndroidStudioProjects\RetrofitLiveData\app\src\main\res\layout\fragment_event.xml loc:27:12 - 31:17 ****\ data binding error ****
这是databinding在界面绑定的bean属性格式和String类型不匹配所致,{}里字符串显示就行
更多相关文章
- Android(安卓)如何使用internal 和 hidden API
- Android(安卓)实现模拟按键
- Android(安卓)常用代码大集合
- Android(安卓)Android使用JSON与服务器交互
- 修改android版本号
- Android(安卓)Adapter
- Android项目中如果json字符串中key-value顺序很重要,不要使用Andr
- Android(安卓)TextView属性ellipsize多行失效的解决思路
- android之调用webservice 实现图片上传