gpt4 book ai didi

android - 火力地堡错误 : Incompatible Android SDK

转载 作者:行者123 更新时间:2023-11-29 16:51:13 31 4
gpt4 key购买 nike

我遇到了这个错误,但我不确定我做错了什么。我确保根据 firebase 网站上的说明更新了所有内容。这是兼容性错误吗?

09-22 13:12:51.158 18083-18110/com.pingus.vent W/GooglePlayServicesUtil: Google Play services out of date.  Requires 11020000 but found 10298480

Gradle 文件:

apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.pingus.vent"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(dir: 'libraries', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.google.firebase:firebase-core:11.0.4'
compile 'com.google.firebase:firebase-auth:10.0.2'
compile 'com.google.firebase:firebase-database:10.0.2'
compile 'com.android.support:design:25.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.volley:volley:1.0.0'
compile 'com.google.android.gms:play-services:11.0.4'
compile 'cn.pedant.sweetalert:library:1.3'
testCompile 'junit:junit:4.12'
compile 'com.android.support:recyclerview-v7:25.2.0'
compile 'com.github.jd-alexander:LikeButton:0.2.1'
}
apply plugin: 'com.google.gms.google-services'

最佳答案

您应该对所有 Firebase 服务和 Google Play 服务使用相同的版本,例如:

compile 'com.google.android.gms:play-services:11.0.4'
compile 'com.google.firebase:firebase-core:11.0.4'
compile 'com.google.firebase:firebase-auth:11.0.4'
compile 'com.google.firebase:firebase-database:11.0.4'

我曾经为 google play 服务和 firebase 服务使用不同的版本并且崩溃了。

关于android - 火力地堡错误 : Incompatible Android SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46370066/

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