不多废话 看下面报错信息:
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.RuntimeException: Found data binding errors.
****/ data binding error ****msg:Cannot find the setter for attribute 'app:img' with parameter type java.lang.String on android.widget.ImageView.
file:F:\workspace\LiangYou\app\src\main\res\layout\cardview_post.xml
loc:48:23 - 48:30
****\ data binding error ****
有大神知道怎么解决 望告知一二 不胜感激
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.RuntimeException: Found data binding errors.
****/ data binding error ****msg:Cannot find the setter for attribute 'app:img' with parameter type java.lang.String on android.widget.ImageView.
file:F:\workspace\LiangYou\app\src\main\res\layout\cardview_post.xml
loc:48:23 - 48:30
****\ data binding error ****
有大神知道怎么解决 望告知一二 不胜感激