Posted  by  admin

Google Play Services Android 4.4.2

Google play service is just a library to create application but in order to use application that use google play service library, you need to install google play in your emulator.and for that it need the unique device id. And device id is only on the real device not have on emulator. So for testing it, you need real android device.

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?

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

Community
user1406716user1406716
4,26716 gold badges82 silver badges132 bronze badges

6 Answers

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

Google Play Services Android 4.4.2

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

RaghunandanRaghunandan
120k19 gold badges198 silver badges237 bronze badges

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.

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

Community
CoolMonsterCoolMonster

If you happen to not have the image, download it via the SDK manager:

Karl MorrisonKarl Morrison
10.8k27 gold badges118 silver badges207 bronze badges

If you're using Xamarin, I found a guide on their official forum explaining how to do this:

  1. Download the package from the internet. There are many sources for this, one possible source is the CyanogenMod web site.
  2. Start up the Android Player and unlock it.
  3. Drag and drop the zip file that you downloaded onto the Android Player.
  4. Restart the Android Player.

Hereafter, you might also need to update the Google Play Services from the Google Play Store.

Hope this helps for anyone else who has troubles finding the documentation.

DemitrianDemitrian
2,6521 gold badge15 silver badges35 bronze badges

Setp 1 : Download the following apk files. 1)com.google.android.gms.apk (https://androidfilehost.com/?fid=95916177934534438) 2)com.android.vending-4.4.22.apk (https://androidfilehost.com/?fid=23203820527945795)

Step 2 : Create a new AVD without the google API's

Step 3 : Run the AVD (Start the emulator)

Step 4 : Install the downloaded apks using adb .

adb come up with android sdks/studio

Step 5 : Create the application in google developer console

Step 6 : Configure the api key in your Androidmanifest.xml and google api version.

Note :In step1 you need to download the apk based on your Android API level(..18,19,21..) and google play services version (5,5.1,6,6.5......)

This will work 100%.

4.4.2
PandiarajanPandiarajan

google play service is just a library to create application but in order to use application that use google play service library , you need to install google play in your emulator.and for that it need the unique device id. and device id is only on the real device not have on emulator. so for testing it , you need real android device.

Waqar AhmedAndroidWaqar Ahmed
3,7791 gold badge12 silver badges26 bronze badges

Google Play Services Missing

protected by CommunityFeb 8 '17 at 11:45

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged androidemulationgoogle-play-services or ask your own question.