我添加了compile 'com.firebaseui:firebase-ui-database:0.6.0'
,但我的android工作室未能同步,我甚至阅读了 firebase UI 文档,但仍然面临同样的问题。我该如何解决这个问题
以下是我的gradle file
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "oerrride.we.huzykamz.administrator_party"
minSdkVersion 13
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile 'com.android.support:cardview-v7:+'
// compile 'com.android.support:recyclerview-v7:+'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.google.firebase:firebase-database:9.4.0'
compile 'com.google.firebase:firebase-crash:9.4.0'
compile 'com.google.firebase:firebase-auth:9.4.0'
compile 'com.google.firebase:firebase-storage:9.4.0'
// compile 'com.android.support:appcompat-v7:23.1.0'
// Single target that includes all FirebaseUI libraries
//compile 'com.firebaseui:firebase-ui:0.2.1'
// FirebaseUI Database only
compile 'com.firebaseui:firebase-ui-database:0.6.0'
}
apply plugin: 'com.google.gms.google-services'
这是我遇到的一种错误(图片)。