Show maps on android emulator - google play services out of date - android

I want to show Google Maps on my emulator.
I'm using API 17 and installed gsm.APK & vending.APK
The emulator tells me I need to update the google services.
When I push update it go to google play and do nothing.
I also get this warning on LogCat
google play services out of date requires 4242000 but found 4131530
What can I do?

To my knowledge, you cannot run Google maps on the built-in emulator. They just don't work. You need to test your app on either a device or a 3rd party emulator.
For my needs, I'm a huge fan of the Genymotion device-specific emulators

Related

googleMapsApp(project name) wont run without google play services. which are not supported by your device

i'm working on an application that uses the google map services To display the location of the user on the map.
but when i'm trying to run it on the genymotion device(android version 7.0), the following error displays on the screen:
googleMapsApp(project name) wont run without google play services.
which are not supported by your device.
Thank you for helping me.
Android SDK provides emulator with google play services...
Did you try to use it?

Google Maps not showing on android v2.2

I am building an application which has its major functionality on google maps. But the problem I am facing in one of the device is that:
The Google Maps never load on that device [its OS is Android v2.2]
I have checked for the Google Play Service and it always gives a dialog to update the Google Play service; but when I click ok it redirects me to the play store where it shows that i already have the google play library [No update option there]
I connected the device and checked the logcat which states something like this:
"Current Google Play Service Version is 35xxx and required is 41xxx"
but there is No way for me to update the google play service as it never shows the update option. Please help me with this issue.
Give me all possible solution that i should try out... I need this app working on android 2.2.
I am using google maps api v2. Also Note the app is working fine on all other android versions.
Thanks.
USING Google Maps v1 can SOLVE MY PROBLEM....?? Please Help!
You need to use older version of Google Maps Android API v2.
The latest supported on 2.2 devices is 3.2.65 (v12) and can be downloaded via SDK Manager.
Just look for Google Play services for Froyo.
Or if you are using Android Studio and Gradle, make your dependency version equal to 3.2.65.

Google Play Services error in android emulator (eclipse)

Hey I've been trying since a week now to get the maps thing working on Eclipse. I downloaded all the necessary packages and did everything that they've asked to on the "getting started" page on google's developer site that is meant for developing using Google Maps. But when I run the code in the emulator it tells me, "Google play services is not supported by your device"
Need some help guys as to what to do. Please do let me know about any suggestions.
Yup, you can get Google map V2 in emulator too. I got it please refer this step by step procedure this link which I answered in previous question.
To work with Google Map API v2, you are required to have Google Play services enabled device.
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.
Update:
I would suggest you to give Genymotion emulator a try.

Google API Level 18 emulator "This app won't run unless you update Google Play services"

I am running an emulator with Google API level 18 but whenever I open my google maps based application I get the error message "This app won't run unless you update Google Play services".
How can I get google play services to run on my emulator? I have looked at other stackoverflow questions but they say to use the latest API, which I already am.
EDIT: It is worth noting i am using the support library
EDIT: Screenshot of my emulator setup:
You need to setup an emulator with the API level you need + the Google API! For every API level there are 2 version of ROM! One with Google APIs and one without! If you choose the first you will be ok to run any app that uses Google Play Services!
You should create emulator with target version Google APIs - API level 18, start it and add Google account (System settings - Add account - Google)
i had the same problem once as i tried to feed my app with dummy-locationdata via emulator.
There is still no map-support for the emulator, though you can workaround and get it running the hard way!
in my eyes, best tutorial for your purpose is THIS TUTORIAL.
On a device, you need to have Google Play Services intalled. I'm not sure if it's possible to have it installed on an emulator. You can try searching for workarounds. But I've had this problem before, I just ended up using a real device.

Android app using Google Maps library, installable everywhere

Is it possible to use Google Maps Android library in my app in a way, that the app can be installed even on phones without Google Maps? On phones without Google Maps, the maps feature would be disabled.
Is it possible to use Google Maps Android library in my app in a way, that the app can be installed even on
phones without Google Maps?
There is an undocumented android:required="false" flag you can put on the <uses-library> element. I am hopeful that they will document this in a future release. With that set to false, you would need to use reflection to see if Google Maps is loaded (e.g., try to find the MapView class) -- if not, disable whatever would lead the user to a map.
If anybody else has the same problem (I do):
On this Android Developer page it says -- as far as I can tell -- that you can reference the Maps API and thus have e.g. a map activity in your app by using Google Play services:
"The Google Maps Android APIs are not included in the Android
platform, but are available on any device with the Google Play Store
running Android 2.2 or higher, through Google Play
services.
To integrate Google Maps into your app, you need to install the Google
Play services libraries for your Android SDK. For more details, read
about Google Play
services."
Apparently it is an actual app (it is installed on my phone) that updates certain Google stuff.
So it seems it is possible, but only for devices running Android 2.2 (API level 8) and above.
I find the explanation on that site a bit unclear, however, and I have not been able to test this on my own.
In my case, I guess I have to live with the fact that not all devices will be able to install my app, since I target an API < 8.

Categories

Resources