Skip to content Skip to sidebar Skip to footer

Unfortunately, (app Name) Has Stopped When I Use Fragment To Use Google Maps

Can anyone clarify where my error is? The Android app crashes with the error, 'Unfortunately, my app has stopped working'.Just when put fragment in Main_layout file.

Solution 1:

Looks like an error lies in your manifest - Caused by: java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 7095000 but found 0

I cannot see the content of your manifest file, but my first guess is that you didn't set up Google Play services version or google maps api key meta-data in manifest properly. Everything is explained there: https://developers.google.com/maps/documentation/android/start#add_a_map just like @Daniel Nugent mentioned.

Post a Comment for "Unfortunately, (app Name) Has Stopped When I Use Fragment To Use Google Maps"