android - Google Play 服务一更新就崩溃

标签 android google-play google-play-services simulation genymotion

我正在使用 Genymotion (2.7.0) 测试我在 Android Studio 中开发的 Android 应用程序。我正在模拟三星 Galaxy S5-4.4.4。我的应用程序需要 Google Play 服务才能正常运行,所以我按照说明进行操作 here将其安装在 genymotion 设备上。但是,一旦我更新 Google Play 服务,每当我点击手机中的任何内容时,我都会不断弹出窗口“不幸的是 Google Play 服务已停止”和“不幸的是 com.google.process.gapps 进程已停止”。尝试去 Google Play 商店只是告诉我出了点问题,我需要重新登录(但我不能因为前面提到的错误。)如果我卸载 Google Play 服务的更新,这些弹出窗口就会停止,但是我的应用程序无法正常运行。

我该怎么办?

编辑:我试过使用其他 Genymotion 设备,我试过重新安装 genymotion,我也试过清除 Google 服务和 Google 服务框架的所有数据/缓存。这些都不起作用,我不确定此时该怎么做。

最佳答案

基于此blog ,您可以通过重置 Google Play 服务缓存缓存和更新来修复错误“不幸的是 Google Play 服务已停止”。您手机中的 Google Play Services 应用就像一个框架,适用于您手机中安装的所有 Google 和 Google Play 应用。

  • 转到设置 >> 应用程序管理器 >> 所有 >> Google Play 商店 >> 清除缓存并卸载更新。重启设备。

还请尝试清除 Google 服务框架缓存。 Android 设备上的 Google Services Framework 系统应用程序存储信息并帮助您的手机与 Google 服务器同步;并保持您的 Google Play 服务正常运行。

  • 转到设置 >> 应用程序管理器 >> 所有 >> Google 服务框架 >> 单击“强制停止”并点击“清除缓存”按钮。重启设备。

错误 “不幸的是 com.google.process.gapps 进程已停止” 当应用无法连接到服务器、超时或不同步时也会发生。您也可以按照 link 中的说明通过重新启动 Google Framework Services 来修复它.

检查这些相关问题:

关于android - Google Play 服务一更新就崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38547594/

相关文章:

android - 在Android Market中强制 "update (manual)"

Android 应用程序不显示在平板电脑中

android - 如何使用 Google Play 商店链接到 Android 应用

android - 在使用 Google Apps 帐户登录时,在 Android 上对 Google Play 游戏服务进行身份验证会导致错误

android - 如何在 Android 上使用 Retrofit 通知每个失败的 Httprequest 的单个监听器

android - 文件创建错误中的 java.lang.NullPointerException

android - 从 SIM 卡获取短信

android - 如何以编程方式获取自己的 Android 应用统计信息?

android-emulator - 对需要最新 Google Play 服务的应用程序中的 Android 4.3 webview 进行故障排除

java - Android Studio 应用程序在打开第二个 Activity 时崩溃