I recently updated the android google sdk with the latest version of google play services library (7.5).
Since the update I cannot run my app on emulator : when I click sign in button a pop up appears saying that I need to install the latest version of google play games app.
Of course I'm using the latest google apis for the emulator image. What happens? Did I miss something?
It turns that now google play services is linked to google play games app. It seems that if you don't have the app installed you cannot run the game that uses google play services. The emulator of course come without the games app I have to manually install the apk and now it works again. :-o
Related
I'm a newb to Android and Android Studio so I'm doing a Udemy course on it.
The course is now at the point where Android API's are being explored. The Android 8.0.0 Emulator however, does not have Google Play Services, and without Google Play I have no way of installing it... I have followed a couple of tutorials to get play services installed which involves downloading a zip and dragging it to the emulator.
After prompting me to install it just failed each time...
I have created a new Android Studio project with the Google Maps template and created API keys.
When building the app this is the screen I get:
Notably clicking update doesn't do anything...
Does anyone know how I can go about using Google Maps API's?
If your AVD supports updating Google Play Services, you should be able to update Play Services from the emulator settings screen:
If it does not, create a new AVD that indicates it does support updating Google Play Services, and try again. System images that support Google Play have a (Google Play) suffix in the chooser:
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.
I develop an android application and suppose to run any android version.
I notice that I can only install my application on android which has Google Play install. I think this is because I use Google Play library. Is there any way to install my application on android which has no Google Play Store?
if you dont absolutely need google play services, use other library.
or you can detect if a device doesnt have it, then display some information about installing the google play services on that device.
I've developed an android application that works well, but when i try to publish in the Google Play Store, it gives me an error that says i have google play services version 6111000 and need to have google play services version 5100000 or lower.
I've found a similar problem here that already have a solution but its for Android Studio, and i am using Eclipse. So how can i do that in Eclipse?
Thanks
Google Play Services just finished the rollout of Google Play Services 6.1 today. You should update the Google Play Services SDK to the new version and try publishing again.
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.