gpt4 book ai didi

android - 无法解析com.firebase.firebaseui:firebase-ui-auth:4.3.1

转载 作者:行者123 更新时间:2023-12-03 04:14:55 25 4
gpt4 key购买 nike

我和其他使用Gradle依赖关系解决的人一样有同样的问题...我已经检查了其他问题,但似乎我的情况下他们可以处理每个库的不同版本...所以我决定提出一个新问题。这是我的应用程序级别的build.gradle:

apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion "29.0.0"
defaultConfig {
applicationId "..."
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'

implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.facebook.android:facebook-login:5.1.1'
implementation 'com.facebook.android:facebook-android-sdk:5.0.0'
implementation 'com.google.firebase:firebase-auth:16.1.0'
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.google.firebase:firebase-database:16.0.6'

//the line which causes the error
implementation 'com.firebase.firebaseui:firebase-ui-auth:4.3.1'

//these lines are added for handling appcompat error
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:animated-vector-drawable:28.0.0'
implementation 'com.android.support:customtabs:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'android.arch.lifecycle:extensions:1.1.1'
implementation 'com.android.support:design:28.0.0'

testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

apply plugin: 'com.google.gms.google-services'

当我添加firebase-ui-auth行时,出现了问题。我该如何运作?此外,有人知道是否存在将所有依赖项方案归为一组的网页吗?提前致谢。

最佳答案

要解决此问题,请更改以下代码行:

implementation 'com.firebase.firebaseui:firebase-ui-auth:4.3.1'


implementation 'com.firebaseui:firebase-ui-auth:4.3.1'

但我建议您使用 5.0.0的最新版本。请查看有关 Firebase-UI library的更多详细信息。

关于android - 无法解析com.firebase.firebaseui:firebase-ui-auth:4.3.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57018380/

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