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.
Related
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.
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.
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
I am making an app that involves google maps..
The maps are working fine and map is pefectly visible in my emulator but when I install same app on my mobile the map only shows the grids...and no map...
My 2 cents, make sure Google play services is installed on the device which can be found here:
https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en
If that doesn't solve it more than likely you are using a debug key and not a production key.
It is normal for the maps to not show until the app has a production key and is downloaded from the play store.There was a similar question here:
Android Maps API V2 Shows only Grid, no map in debug. Normal?
To get the production key refer to this guide:
https://developers.google.com/maps/documentation/android/start
Hope this helps. :)
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
This app won’t run unless you update Google Play Services. (via Bazaar)
I am trying to show up a map as in Google Maps Android API v2. https://developers.google.com/maps/documentation/android/.
When I run the application it shows the message "This app will not run unless you update google play services" in emulator.
I also looked into Google Maps V3 as in https://developers.google.com/maps/documentation/javascript/ and it says it can be used in mobile app as well.
Can someone help me resolve problem in v2 and suggest if using v3 can be simpler?
My understanding is that Google Play Services can't be installed on an emulator and that consequently the Maps API v2 can't be tested on an emulator. This seems to be confirmed by Google people in the following Google+ post
Google plus discussion
This is disappointing news for me.