Google Play Services error in android emulator (eclipse) - android

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.

Related

Google maps v2 on android emulator

I am facing an issue right now so i appeal to all you awesome android developers to help me out with this issue. There is a specific need in my application to run Google maps v2 on an emulator. Have been searching here and there but of no use. Can someone properly tell me how to run Google maps v2 successfully on android emulator. Have tried both google Api version as well as the pure android one(installing play store apk and play services) but none of them are working well.
Thanks in Advance.

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

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

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 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 Studio Google Maps v2

I wonder if anyone has documentation on how to implement Google Maps v2 on Android Studio, the official documentation does not explain this.
Thanks in advance.
Well these steps worked good to me
First, update the version of your android studio to version 0.5.4 or later
Second, make the project as you want only recommend you to create at least 17 ​​API for Google Maps V2 run with no problem and select Google Maps Activity
Third, the good thing about this update is that Android Studio in Manifest.xml and Activity are already configured to do the test directly
Fourth, do not forget to configure and enter your own api_key
Fifth: I recommend to you use Genymotion to test your apps with maps, the emulator is much easier to manage, faster and easier to install Google Play Services
http://www.genymotion.com/
http://www.youtube.com/watch?v=iCRNqCXGNK0

Categories

Resources