[英]Google Play services API client can't connect: SERVICE_VERSION_UPDATE_REQUIRED
I'm trying to connect to Google Play services. 我正在尝试连接到Google Play服务。 It used to work perfectly a few months ago, and now I'm getting my onConnectionFailed
method to invoke with error code SERVICE_VERSION_UPDATE_REQUIRED
. 它曾经在几个月前运行良好,现在我正在使用错误代码SERVICE_VERSION_UPDATE_REQUIRED
调用onConnectionFailed
方法。
Pretty self explanatory, yet I'm already on the latest version: 自我解释,但我已经在使用最新版本:
compile 'com.google.android.gms:play-services-base:9.6.1'
compile 'com.google.android.gms:play-services-maps:9.6.1'
compile 'com.google.android.gms:play-services-location:9.6.1'
Why am I getting this error? 为什么会出现此错误?
Oh, just figured out that I also need to update an app on the device called "Google Play Services" for my app to work (and weird enough, it's not even even found when I search Google Play, I had to use the link at the answer on Service Version update required? ). 哦,刚发现我还需要在设备上更新一个名为“ Google Play服务”的应用程序,这样我的应用程序才能正常工作(而且很奇怪,当我搜索Google Play时甚至找不到该应用程序,我必须在是否需要更新服务版本的答案? )。
Updated it and now my app works. 更新了它,现在我的应用程序可以工作了。 Absolutely ridiculous. 绝对荒谬。 I really wonder whose idea was making software components dependent on other apps. 我真的很想知道是谁的想法使软件组件依赖于其他应用程序。
Anyway, problem "solved". 无论如何,问题“解决了”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.