Unable to start the Google Play service on the emulator (update to the Google Play service required)

I tried installing Google Play on the emulator. I followed the instructions on the Google Dev Site .

Using the ADV-manager looks fine, the devices are focused on the Google API version 22, but when I launch my image, I always have "This application will not work if you do not update the Google Play services"

enter image description here

My test program works fine on a real device

Dependencies include the following:

dependencies {
   compile 'com.google.android.gms:play-services:7.3.0'
}

I tried manually adding apk Google Play:

> adb install -r com.google.android.gms-7.3.29_\(1866531-038\)-7329038-minAPI9.apk 
4503 KB/s (37113767 bytes in 8.048s)
   pkg: /data/local/tmp/com.google.android.gms-7.3.29_(1866531-038)-7329038-minAPI9.apk

So, is there a way to check if the emulator works with Google Play services? If not, how to solve the problem?

+4
source share
4 answers

API Google 21 ( 22), ... . @selvin

+7

, API 22 API API ARM EABI v7a API Google API Google Play .

+3

, Google Play Services build.gradle 8.1.0 7.8.0. , , google play, , . , .

+3

I had the same problem. I deleted the Google Play services in the SDK manager (see. Fig.). Then reinstall it. Then try restarting the SAME emulator and hopefully the application works! Uninstall Google Play Services and then reinstall it

This is a very annoying problem. It can also be resolved by lowering your build.gradle file, as mentioned by Fenil, where xxx has already changed.

0
source

All Articles