问题描述
我正在为我的应用整合Google Plus登录功能。唯一的问题是我已经在Android SDK中更新了所有内容,但仍然在Android模拟器中运行我的应用程序时,Android Studio中出现错误,表示Google Play服务已过期,需要7327000,但找到了6774480。
Android Studio不允许我使用旧版Play服务。
I am integrating Google Plus Sign In for my app. The only thing is I have everything updated in Android SDK but still when I run my app in Android Emulator, I get a error in Android Studio saying "Google Play services out of date. Requires 7327000 but found 6774480".Android Studio doesn't allow me to use older version of Play Services.
我搜索了不同的方式来离线安装最新的Google Play服务(.apk),但它使用adb install gps.apk运行时出现不兼容错误。
I searched different ways to install latest Google Play Service offline (.apk) but it gives incompatibility error when run using "adb install gps.apk".
即使最新的Android操作系统映像安装了旧版Google Play服务,甚至是Android SDK中针对这些服务的更新指示符?
How is it like even the latest Android OS image has old version of Google Play Service installed and not even a update indicator in Android SDK for these services?
推荐答案
感谢Murtaza为此做出了贡献,但我在所有这一切之间找到了解决方案。我在已安装Google Play服务的模拟器中使用Google API图像。
所以我们有2个卸载/重新安装它们的选项,其中NONE工作。
Thanks Murtaza for contributing to this but I found the solution in between all this. I was using Google API image in Emulator where the Google Play Services are already installed.So we have 2 options of Uninstalling/Reinstalling them, of which NONE worked.
我所做的是从给定的链接下载APK并安装它没有Google API图像的模拟器。它成功安装在那里,我在模拟器上安装了更新的Google Play服务。
What I did was downloaded the APK from your given link and installed it on the Emulator without Google API image. It successfully installs in there and I got the updated Google Play Service installed on the Emulator.
这篇关于如何在Android模拟器中安装Google Play Service 7.3.0或更高版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!