Android Quickblox演示应用无法在同步时运行它始终显示错误“无法找到com.android.databinding:baseLibrary:3.0.0。”
错误:
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
答案 0 :(得分:0)
将此行添加到模块级build.gradle
implementation 'com.android.databinding:library:1.3.1'
implementation 'com.android.databinding:adapters:1.3.1'