我正在尝试在我的 Android 应用中使用 Google Places API 的 PlacePicker。但是,每当我尝试创建选择器时,都会收到以下错误消息:
Google Play services out of date. Requires 7095000 but found 6774470
不幸的是,因为我没有物理设备,所以我必须在模拟器上进行测试。模拟器的镜像是 API 级别 22 x86,具有 Google API 目标。此外,我还尝试通过 build.gradle 文件包含 Google Play Services 库:
'com.google.android.gms:play-services:7.+'
另外,我在 SDK 管理器中更新了 Google Play 服务。我究竟做错了什么?如何更新我的 Google Play 服务以便使用 Places API?
最佳答案
我遇到了同样的问题,不得不使用谷歌应用程序向下移动到 API 21 模拟器图像。那个是最新的,并且有效。
关于Android 地点 API : Google Play Services Out of Date on Emulator,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29597974/