Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Places API: Google Play Services Out of Date on Emulator

I am attempting to utilize the Google Places API's PlacePicker in my Android app. However, whenever I attempt to create the picker, I receive the following error message:

Google Play services out of date. Requires 7095000 but found 6774470 

Unfortunately, I am tied to testing on the emulator because I do not own a physical device. The emulator's image is API level 22 x86 with Google APIs target. Furthermore, I have attempted to include the Google Play Services library through the build.gradle file:

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

Also, I have updated Google Play Services in the SDK Manager. What am I doing wrong? How can I update my Google Play services so I can use the Places API?

like image 236
user1594328 Avatar asked Apr 13 '15 04:04

user1594328


People also ask

How do I disable Google Play Services on my emulator?

Go to Settings > Applications > All > Google Play Services > Tap Disable > Tap OK to confirm. Method 2. If you find the Disable checkbox is grayed out, please Go to Settings > Security > Device administrators > Disable Android Device Manager.


1 Answers

I had the same issue, and had to move down to API 21 emulator image with google apps. That one is more up to date, and works.

like image 60
Tamas Avatar answered Sep 19 '22 21:09

Tamas