gpt4 book ai didi

android - Google Play 服务已过时。需要 11910000 但找到 11577470

转载 作者:太空宇宙 更新时间:2023-11-03 10:59:24 24 4
gpt4 key购买 nike

我正在尝试将 Firebase 添加到我的 Android 项目中。运行它,抛出这个错误:

Google Play services out of date.  Requires 11910000 but found 11577470

我在这里找到了几个关于这个的链接,其中大部分都说要降级到:

compile 'com.google.android.gms:play-services:9.6.0'

这不再适用于我,因为我使用 SDK 26 并且它会引发与其他库的不兼容错误。

这是我的 gradle 文件:(模块):`

dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.google.gms:google-services:3.1.1'
}

`应用:

android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.project"
minSdkVersion 24
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.google.firebase:firebase-core:11.8.0'
compile 'com.google.android.gms:play-services:11.8.0'

}应用插件:'com.google.gms.google-services'

And as you can see here my Google Services is updated as well.

在我的日志中我得到这些错误:

I/FirebaseCrash: Sending crashes
W/FirebaseInstanceId: No response
E/FirebaseInstanceId: Topic sync failed: TIMEOUT
E/FirebaseInstanceId: Topic sync failed: SERVICE_NOT_AVAILABLE
W/FirebaseInstanceId: No response
E/FirebaseInstanceId: Topic sync failed: TIMEOUT

有谁知道我该如何解决这个问题?任何提示表示赞赏。谢谢。

最佳答案

我遇到了同样的问题,不得不使用谷歌应用程序向下移动到 API 21 模拟器图像。那个是最新的,并且有效。

关于android - Google Play 服务已过时。需要 11910000 但找到 11577470,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48042511/

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