2017-08-11 108 views
3

我有双向数据绑定可观察 在上次更新的SDK我有这样的问题。谁遇到过这个?Android数据绑定错误

Error: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 java.lang.String on android.support.design.widget.TextInputEditText. 
    file:C:\Users\Tom\Desktop\projects\androidstudio\work_projects\projects\app\src\main\res\layout\medcard_edit.xml 
    loc:83:20 - 95:53 
    ****\ data binding error **** 
    ****/ data binding error ****msg:Cannot find the getter for attribute 'android:text' with value type java.lang.String on android.widget.EditText. 
    file:C:\Users\Tom\Desktop\projects\androidstudio\work_projects\novamed\novamed_android\app\src\main\res\layout\activity_address_picker.xml 
    loc:42:12 - 48:36 
    ****\ data binding error **** 
    ****/ data binding error ****msg:Cannot find the getter for attribute 'android:text' with value type java.lang.String on android.widget.EditText. 
    file:C:\Users\Tom\Desktop\projects\androidstudio\work_projects\novamed\novamed_android\app\src\main\res\layout\activity_payment_card_picker.xml 
    loc:21:8 - 37:54 
    ****\ data binding error **** 
+0

你能解决这个问题吗? – Shubham

回答

0

我认为这是一些sdk问题,它在更新下一个补丁后解决。

+0

嗨,你能标记你的答案作为你的问题的答案,以便问题将被关闭吗?谢谢。 – SaschaM78