gpt4 book ai didi

android - 将gms:play-services-auth升级到10.2.0时,任务 ':app:processDebugGoogleServices'的执行失败

转载 作者:行者123 更新时间:2023-12-03 05:59:47 25 4
gpt4 key购买 nike

错误:任务':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.



我的gradle:
apply plugin: 'com.android.application'

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

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.2.0'
compile 'com.android.support:design:25.2.0'
compile 'com.google.firebase:firebase-auth:10.0.1'
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'com.google.android.gms:play-services-auth:10.2.0'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
testCompile 'junit:junit:4.12'
}

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

我不明白为什么会这样。我只知道,因为从 this page使用14以下的minSDK,但我的是16。

最佳答案

也许您的Firebase和Google Play Services依赖版本应该匹配?现在它们分别是10.0.1和10.2.0

关于android - 将gms:play-services-auth升级到10.2.0时,任务 ':app:processDebugGoogleServices'的执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42440451/

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