run google play store on android emulator - android

I installed Google play store on my android emulator successfully. But when I try to run Google app it gives "Unfortunately, Google services framework has stopped" error message. I tried to fix it using clear cache of Google play store app, clear data of Google services framework app and restart the device. Also I tried for new emulators. But It didn't work. Does it a matter version of android sdk and Google Services Framework.apk version?
Suggest a way to fix this problem.

Read up on the guide provided by Android here.
Specifically, note:
To test your app when using the Google Play services SDK, you must use
either:
A compatible Android device that runs Android 2.3 or higher and
includes Google Play Store.
The Android emulator with an AVD that runs
the Google APIs platform based on Android 4.2.2 or higher.
As long as you satisfy those requirements, follow the installation instructions provided to install the SDK into your Developer environment.

Related

Google Play Services SDK (version 38) update

First of all: I am a Software Testing Engineer, so I don't create applications. I use Android Studio for AVD creation, than I install already developed apk file on Android Emulator and make tests. About a month ago I have noticed an annoying pop-up "Update Google Play services" and when I clicked "Update" button - nothing happened.
I don't want to describe all my struggles, but finally I decided that root cause is the outdated Google Play Services SDK (now I have version 38). Android Studio doesn't offers me to update it, and also I can't find any information about version 39. Maybe you know something about this and can help me?
You can always check here the latest version of Google Play service. This is the official documentation of Google Play service that shows you the update and the highlights of each version. This page also shows you how to use the Google Play services APIs in the Android studio.
Note that to test your app using the Google Play services SDK, you must use either:
A compatible Android device that runs Android 2.3 or higher and includes Google Play Store.
The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

How to install Google Play Service 7.3.0 or above in Android Emulator?

I am integrating Google Plus Sign In for my app. The only thing is I have everything updated in Android SDK but still when I run my app in Android Emulator, I get a error in Android Studio saying "Google Play services out of date. Requires 7327000 but found 6774480".
Android Studio doesn't allow me to use older version of Play Services.
I searched different ways to install latest Google Play Service offline (.apk) but it gives incompatibility error when run using "adb install gps.apk".
How is it like even the latest Android OS image has old version of Google Play Service installed and not even a update indicator in Android SDK for these services?
Use APK MIRROR, it contains all version of Google Play Services.
P.S. Remember to uninstall already installed version of Google PlayService from the device before installing the new one.
Thanks Murtaza for contributing to this but I found the solution in between all this. I was using Google API image in Emulator where the Google Play Services are already installed.
So we have 2 options of Uninstalling/Reinstalling them, of which NONE worked.
What I did was downloaded the APK from your given link and installed it on the Emulator without Google API image. It successfully installs in there and I got the updated Google Play Service installed on the Emulator.

Android Studio : Get Google Play Services

I want to use Google Maps in my app
But when I run my app I get this error
This app won't run without Google Play services, which are missing from your phone. GET GOOGLE PLAY SERVICES
I tried other solutions like installing the google api from SDK Manager but did not work, and still get the same error.
Anyone can help me?
In order to run application that uses Google Play Services, your emulator or device must have Google Play Services installed.
In Android SDK Manager allows you to install emulator system images with preinstalled Google Play Services.
When you have those installed on your system, you can then create emulator that will be able to run your application.
Open AVD Manager and create new emulator. Make sure that you use some of Google API system images.
it looks like your device/emulator don't have gapps isntalled.
Google Play Services is coming with Google apps (called gapps). A great tutorial can be found here : http://forum.xda-developers.com/showthread.php?t=2528952
By the way, use CM11 gapps link.

my demo app of android for google map not working due to google play services showing error

Error shown on android emulator :
"Google Play services ,which some of your application rely on, is not
supported by your device. Please contact the manufacturer for
assistance"
I have generated the key required to add in manifest, installed google play services and added reference to my project. my AVD is android 4.2.2(17)
I have also installed google api for android 4.2.2(17)
but still it isn't working.
Google play services are not installed in the emulators. You have to manually install the APKs for the required services you want to run on the emulator.
and as an alternative you can use genymotion emulator, they are pretty fast and come with google play services.

Can we run an App with Google Map v2 on Emulator Running Android 4.3?

It is still not clear if we can test Google Map v2 on Android emulator or NOT.
It is all about Play Service and they "Google Android Team" have announced the following:
On Android-Developer Blog
They are saying
To simplify your testing, we've also released an updated Google APIs emulator image that includes Google Play Services 3.2. You can download the image through the Android SDK Manager.
On Android Developer Site They are saying
To test your app when using the Google Play services SDK, you must use either:
•A compatible Android device that runs Android 2.2 or higher and includes Google Play Store.
•The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.
But, I still not able to run the Map on Android Emulator with Google API 18 (4.3).
What is the right answer?
This wasn't possible initially, but it seems the new version of the google play services apk is making it possible.
Check out the answer here here
Unfortunately, I haven't been able to try it out myself.

Categories

Resources