Firebase UI依赖项出错

时间:2018-01-06 14:44:13

标签: android firebase dependencies firebaseui

compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-auth:10.0.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'de.hdodenhof:circleimageview:2.2.0'
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.+'
compile 'com.google.firebase:firebase-storage:10.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
testCompile 'junit:junit:4.12'

- >实现'com.firebaseui:firebase-ui-database:1.1.1'

当我添加firebase Ui数据库依赖项时,Gradle会显示错误

1 个答案:

答案 0 :(得分:3)

在您的app.gradle中添加以下代码

在app / build.gradle文件中添加此依赖项并尝试

dependencies {
// FirebaseUI for Firebase Realtime Database
implementation 'com.firebaseui:firebase-ui-database:3.1.3'
}