Could not find com.android.databinding:baseLibrary:3.0.0

给你一囗甜甜゛ 提交于 2019-12-11 16:18:27

问题


Android Quickblox Demo App unable to run while sync it always shows error "Could not find com.android.databinding:baseLibrary:3.0.0."

Error :

Required by:
project :sample-custom-objects
Could not find com.android.databinding:baseLibrary:3.0.0.
Searched in the following locations:
file:/O:/AndroidSDK-2.3.3/extras/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
file:/O:/AndroidSDK-2.3.3/extras/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
file:/O:/AndroidSDK-2.3.3/extras/google/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
file:/O:/AndroidSDK-2.3.3/extras/google/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
file:/O:/AndroidSDK-2.3.3/extras/android/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
file:/O:/AndroidSDK-2.3.3/extras/android/m2repository/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
https://jcenter.bintray.com/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
https://jcenter.bintray.com/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
Required by:
project :sample-custom-objects > com.android.databinding:library:1.3.1
project :sample-custom-objects > com.android.databinding:adapters:1.3.1

回答1:


Add this lines to your module-level build.gradle

implementation 'com.android.databinding:library:1.3.1'
implementation 'com.android.databinding:adapters:1.3.1'


来源:https://stackoverflow.com/questions/48377267/could-not-find-com-android-databindingbaselibrary3-0-0

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