Android Studio 2.2 preview throwing error while implementing databinding

别说谁变了你拦得住时间么 提交于 2019-12-21 07:37:24

问题


I have updated my android studio to 2.2 preview 1 and applied the specified dependencies for google and firebase as specified but still getting the following error

EmptyThrowable: Wrong dependency type: class com.android.tools.idea.databinding.DataBindingUtil$LightBRField


dataBinding {
    enabled true
}

回答1:


You can update the Google repository in the Android Software Development Kit (SDK). The fastest way to do it to click:

Help> Check for updates




回答2:


Just use latest Android Studio 3.1.3 or new if available. You will not get this error.



来源:https://stackoverflow.com/questions/37374484/android-studio-2-2-preview-throwing-error-while-implementing-databinding

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!