Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play Services Missing in Emulator (Android 4.4.2)

For the emulator I have below, I am getting the error message that "Google Play Services not installed on the device".

As per the developer site, it says that 'The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

Not able to understand if the emulator is running 4.4.2 then why is google play services not present?

enter image description here

enter image description here

Some related threads, but no resolution. (adding these just to point out this issue is not a duplicate): Related Thread Related Thread

like image 702
user1406716 Avatar asked Mar 03 '14 07:03

user1406716


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.


2 Answers

http://developer.android.com/google/play-services/setup.html

Quoting docs

If you want to test your app on the emulator, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target.

Needs Emulator of Google API"S

See the target in the snap

Snap

enter image description here

I prefer testing on a real device which has google play services installed

like image 71
Raghunandan Avatar answered Oct 20 '22 00:10

Raghunandan


You will not able to test the app using the Google-Play-Service library in emulator. In order to test that app in emulator you need to install some system framework in your emulator to make it work.

https://stackoverflow.com/a/11213598/1405008

Refer the above answer to install Google play service on your emulator.

like image 35
CoolMonster Avatar answered Oct 20 '22 01:10

CoolMonster