Google Play服务已过期。需要10084000,但找到9879470.无法更新 [英] Google Play services out of date. Requires 10084000 but found 9879470. Can't update

查看:273
本文介绍了Google Play服务已过期。需要10084000,但找到9879470.无法更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Firebase制作Android应用程序。这些行是导致问题的原因:

 依赖关系{
compile'c​​om.google.firebase:firebase-core:10.0 .1'
compile'c​​om.google.firebase:firebase-auth:10.0.1'

我得到这个错误:

  Google Play服务已过期。需要10084000,但找到9879470. 

我在模拟器上运行应用程序。在仿真器上更新GPS似乎是不可能的,因为它没有Google Play商店。



在SDK Manager中,它表示Google Player服务的版本是38。



有没有明显的方式来更新这个。

解决方案

2017年2月28日更新:API 25仿真器映像的第4版已发布,可供下载。它包含支持Firebase 10.2.0的Google Play服务10.2.98。




模拟器系统映像支持Firebase 10.0 .1还没有被发布的API 25。版本19系统图像API 23 不支持10.0.1。



您有三个选项:
$ b


  1. 等待发布支持10.0.1的API 25仿真器系统映像

  2. 使用API​​ 23系统映像的Rev 19创建仿真器设备。在独立SDK管理器中,模拟器图像按API进行分组,并具有Google API ...系统映像等名称。确保您安装了Rev 19。

  3. 在您的版本中,降级到以前版本的Firebase,以允许使用API​​ 25模拟器映像。

  4. ol>

    运行模拟设备时,您可以转到设置>应用并选择Google Play服务来查看安装的Google Play服务版本。


    I am making an android app with Firebase. These are the lines causing problems:

    dependencies {
        compile 'com.google.firebase:firebase-core:10.0.1'
        compile 'com.google.firebase:firebase-auth:10.0.1'
    

    I get this error:

    Google Play services out of date.  Requires 10084000 but found 9879470. 
    

    I run the app on an emulator. It doesn't seem possible to update GPS on the emulator, since it doesn't have Google Play Store.

    In SDK Manager, it says the version of Google Player services is 38.

    There is no apparent way to update this either.

    解决方案

    Updated 28 Feb 2017: Rev 4 of the emulator images for API 25 has been released and is available for download. It contains Google Play Services 10.2.98, which supports Firebase 10.2.0.


    An emulator system image that supports Firebase 10.0.1 has not yet been released for API 25. The Rev 19 system image for API 23 does support 10.0.1.

    You have three options:

    1. Wait for release of an API 25 emulator system image that supports 10.0.1
    2. Create an emulator device using Rev 19 of the API 23 system image. In the Standalone SDK Manager, the emulator images are grouped by API and have names like, "Google APIs...System Image". Make sure you have Rev 19 installed.
    3. In your build, downgrade to a previous version of Firebase to allow use of the API 25 emulator image.

    When running the emulated device, you can see the version of Google Play Services installed by going to Settings > Apps and selecting Google Play Services.

    这篇关于Google Play服务已过期。需要10084000,但找到9879470.无法更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆