android - "This app won' t 运行直到您更新 Google Play 服务“GameBaseUtils

标签 android

我正在尝试使用 BaseGameUtils 将游戏集成到我的应用程序中。一切看起来都很好,但是当我运行该应用程序时,我收到消息“在您更新 Google Play 服务之前,此应用程序不会运行”,当我单击“更新”按钮时,Play 商店会在 Google Play 服务页面中打开,但我只能“打开”或“卸载”,因为它已更新。我尝试重新安装但不起作用。

编辑:我从 Logcat 收到此消息“GooglePlayServicesUtil:Google Play 服务已过时。需要 5208000 但找到 5089010”,但我正在使用编译 'com.google.android.gms:play-services:5.2.08'

最佳答案

我已经解决了需要 5.0.+ 版 Google Play 服务的问题。为此,我更改了我的应用程序模块和 BaseGameUtils 模块中的文件 build.gradle,来自:

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

compile 'com.google.android.gms:play-services:5.0.+'

这些问题都提到了同一个问题:

Google Play Services version 5.2.08 too recent for my device

After update - crash com.google.android.gms:play-services:5.2.8

关于android - "This app won' t 运行直到您更新 Google Play 服务“GameBaseUtils,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25587189/

相关文章:

android - 仅设置最后一个未决 Intent

java - 在 ANDROID 中后台运行时出现 java.lang.RunTimeException

android - 错误 : Found byte-order-mark in the middle of a file [ByteOrderMark]

android - 使用 MediaPlayer 在 Xamarin 的主要 Activity 中播放音频不起作用

android - 协调器布局,工具栏上边距奇怪的背景

java - 在android中创建一个守护进程

c# - Xamarin c# CSV 正在 Android 目录中创建但未写入

android - UnsatisfiedLinkError - Android 版 Tesseract

android - 已使用不兼容格式定义的属性(此处定义的原始属性)

android - Firebase 加载数据 onCreate()