is now LinkedIn Learning!

To access courses again, please join LinkedIn Learning

All the same content you know and love

Plus, personalized course recommendations tailored just for you

Get LinkedIn Premium features to contact recruiters or stand out for jobs

Try LinkedIn Learning for free
Questions? Visit our help center.
Skip navigation

Displaying a map with MapView

Displaying a map with MapView: Building Mobile Apps with Google Maps Android API v2
Displaying a map with MapView: Building Mobile Apps with Google Maps Android API v2

Join for an in-depth discussion in this video Displaying a map with MapView, part of Building Mobile Apps with Google Maps Android API v2.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 50m
Show More Show Less

Q: In the Chapter 2 movie "Checking the device for the Google Play services APK," when I create my first Google Maps app, the app crashes when I call the custom method servicesOK(). The error in LogCat starts with:
"java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value."
How do I fix this? 

A: The latest version of the Google Play services library has a new required meta-data tag in the app manifest. Add the following tag within the <application> tag:
     android:value="@integer/google_play_services_version" /> 
After rebuilding the app, the error should be resolved. 

Skills covered in this course
Developer Mobile Apps Android

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving and will be automatically redirected to LinkedIn Learning to start your free trial.