【发布时间】:2021-06-02 00:48:19
【问题描述】:
我有一个应用程序,我在其中使用 firebase 身份验证、firebase 存储、firebase 实时数据库、firebase 消息传递和谷歌地图活动。但是当我集成 firebase 存储依赖项时,应用程序崩溃了。告诉我应该使用哪些版本才能让我的应用顺利运行。
以下是依赖项:
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.firebase:firebase-auth:17.0.0'
implementation 'com.google.firebase:firebase-storage:16.0.4'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.'
implementation 'androidx.navigation:navigation-fragment:2.1.0'
implementation 'androidx.navigation:navigation-ui:2.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.firebaseui:firebase-ui-database:6.2.1'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.orhanobut:dialogplus:1.11@aar'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-database:16.0.6'
implementation 'com.google.firebase:firebase-core:16.0.7'
implementation 'com.karumi:dexter:5.0.0'
implementation 'com.firebaseui:firebase-ui-database:6.4.0'
implementation 'com.firebaseui:firebase-ui-auth:6.4.0'
implementation 'com.github.d-max:spots-dialog:1.1@aar'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.github.mancj:MaterialSearchBar:0.8.2'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.1.7'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'io.paperdb:paperdb:2.6'
}
请指导我应该使用哪些依赖项。
【问题讨论】:
标签: android firebase firebase-authentication dependencies firebase-storage