gpt4 book ai didi

android - 错误 : fix the version conflict (google-services plugin)

转载 作者:IT老高 更新时间:2023-10-28 13:19:45 25 4
gpt4 key购买 nike

根据 this SO线程,我知道存在版本冲突,但在谷歌发布新版本后问题仍然存在。

Error:Execution failed for task ':app:processDebugGoogleServices'. Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 10.0.1.

我的build.gradle(模块:app)

....
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:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile 'com.google.firebase:firebase-messaging:10.0.1'
compile 'com.google.android.gms:play-services-maps:11.0.4'
compile 'com.google.android.gms:play-services-location:11.0.4'
}

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


现在需要进行哪些更改?

最佳答案

我觉得你变了

compile 'com.google.firebase:firebase-messaging:11.0.4'

关于android - 错误 : fix the version conflict (google-services plugin),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45500934/

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