Skip navigation
Welcome: Building Mobile Apps with Google Maps Android API v2
Welcome: Building Mobile Apps with Google Maps Android API v2

Add interactive maps to your Android 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.