【问题标题】:Android Emulator stuck on "Google Play Services are Updating"Android 模拟器卡在“Google Play 服务正在更新”
【发布时间】:2018-01-06 07:20:52
【问题描述】:

我最近开始学习如何在 Android 应用开发中创建 Google 地图活动,并且偶然发现了 Google Play 服务的问题。每当我将我的 gradle 构建依赖项设置为 compile 'com.google.android.gms:play-services-maps:11.0.4'play-services-maps 的最新版本)时,运行我的地图应用程序时模拟器屏幕就会卡在以下视图上:

我已让该应用程序在那里放置了一个多小时,但没有任何变化或更新。正如我在其他 StackOverflow 问题中所读到的,我可以通过将我的 gradle 构建依赖项设置为旧版本(例如 compile 'com.google.android.gms:play-services-maps:9.0.0')来使应用程序正常运行,但这限制了我在应用程序中使用更新的 Android 功能和 API 的能力,例如 FusedLocationProviderClient。

我在 Nougat 7.1.1 上运行,并已安装以下 SDK 以尝试解决此 Google Play 更新问题:

  • Android SDK 构建工具
  • Android SDK 工具
  • Google Play APK 扩展库
  • Google Play 服务
  • 支持存储库 > Google 存储库

我没有找到任何特定于“Google Play 服务正在更新”消息的 StackOverflow 线程。我该怎么做才能解决这个问题?

【问题讨论】:

    标签: android google-maps android-emulator google-play google-play-services


    【解决方案1】:

    使用 API 24 或 API 26 Android Emulator 系统映像,你应该很高兴。 API 25 尚未预装最新的 Google Play Store 应用程序。请注意屏幕截图中只有这些图像是“Google Play”版本。

    【讨论】:

      【解决方案2】:

      除了@Jamal Eason 的回答,您还可以使用具有 Play 商店的 Nexus 5 和 Nexus 5X 模拟器。检查here。您也可以try running on real android device通过支持谷歌地图并安装了谷歌播放服务的USB连接。

      【讨论】:

        猜你喜欢
        • 2016-05-30
        • 1970-01-01
        • 1970-01-01
        • 2017-04-18
        • 2015-08-02
        • 1970-01-01
        • 2015-11-13
        • 2015-08-14
        • 1970-01-01
        相关资源
        最近更新 更多