2017-08-11 117 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