gpt4 book ai didi

android - 在Android中使用Firebase时发生Appcompat错误

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

firebase依赖项添加到build.gradle后,出现“库必须为同一版本”错误。如何解决版本冲突的问题?

enter image description here

最佳答案

我所做的是降级项目的目标版本并降低了appcompat版本。最好等到有人知道如何解决此问题。

android {
compileSdkVersion 26
defaultConfig {
...
targetSdkVersion 26
...
}
...
}

dependencies {
...
implementation 'com.android.support:appcompat-v7:26.1.0'
...
}

关于android - 在Android中使用Firebase时发生Appcompat错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50307262/

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