Skip to main content

Posts

Showing posts with the label Google Map V2 API

Meta-Data tag updates with MAP API v2

Caused by: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4030500 but found 0. You must have the following declaration within the element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> If you get this type of error while launch your application which is based on Google Map V2,then update your AndroidMenifest.xml file. Solution - Google Play Services have been updated to 4.0.30 very recently and so you seem to be using that version of google-play-services_lib. Assumption based on this line: <meta-data             android:name="com.google.android.gms.version"             android:value="@integer/google_play_services_version" /> Not all devices have received an update of GooglePlayServices.APK, which needs to be...

Android: Google Map V2

1. Downloading Google Play Services Google made new Maps V2 API as a part of Google Play Services SDK. So before we start developing maps we need to download google play services from SDK manger. You can open SDK manager either from Eclipse or from android sdk folder. Open Eclipse ⇒ Windows ⇒ Android SDK Manager and check whether you have already downloaded Google Play Services or not under Extras section. If not select play services and install the package.  2. Importing Google Play Services into Eclipse After downloading play services we need to import it to Eclipse which will be used as a library for our maps project. 1 . In Eclipse goto File ⇒ Import ⇒ Android ⇒ Existing Android Code Into Workspace 2 . Click on Browse and select Google Play Services project from your android sdk folder. You can locate play services library project from android-sdk-windows\extras\google\google_play_services\libproject\google-play-services_lib 3 . Importantly while importin...