gpt4 book ai didi

android - appcompat-v7 :25. 3.1 的 firebase 依赖项是什么

转载 作者:搜寻专家 更新时间:2023-11-01 09:35:35 27 4
gpt4 key购买 nike

当我尝试同步我的 gradle 时,我总是收到错误。跟SDK版本有关系。我想知道哪些 firebase 依赖项适合 25.3.1

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})


compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.google.firebase:firebase-messaging:10.2.1'
//compile 'com.firebase:firebase-jobdispatcher:1.0.2'
//compile 'com.firebaseui:firebase-ui:0.5.2'
compile 'com.firebaseui:firebase-ui-database:1.2.0'
compile 'com.firebaseui:firebase-ui-auth:1.2.0'
compile 'com.firebaseui:firebase-ui-storage:1.2.0'
compile 'com.firebaseui:firebase-ui:1.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-auth:10.0.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'

最佳答案

您应该使用 10.2.11.2.0 版本。

compile 'com.google.firebase:firebase-auth:10.2.1'
compile 'com.google.firebase:firebase-messaging:10.2.1'

清理-重建运行

// Getting a "Could not find" error? Make sure you have
// the latest Google Repository in the Android SDK manager

关于android - appcompat-v7 :25. 3.1 的 firebase 依赖项是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43540554/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com