我正在用Firebase制作一个android应用。这些是导致问题的行:
dependencies {
compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-auth:10.0.1'
我收到此错误:
Google Play services out of date. Requires 10084000 but found 9879470.
我在模拟器上运行该应用程序。由于没有Google Play商店,因此似乎无法在模拟器上更新GPS。
在SDK Manager中,它表示Google Player服务的版本为38。
也没有明显的方法来更新它。
最佳答案
更新于2017年2月28日:API 25的仿真器镜像的修订版4已发布,可以下载。它包含支持PlayStation 10.2.0的Google Play服务10.2.98。
尚未针对API 25发布支持Firebase 10.0.1的仿真器系统镜像。API23的Rev 19系统镜像确实支持10.0.1。
您有三种选择:
运行模拟设备时,您可以转到设置>应用并选择Google Play服务,以查看安装的Google Play服务的版本。