Skip to content Skip to sidebar Skip to footer

Binary Xml File Line #15: Error Inflating Class Fragment

i have this xml which contains google maps v2:

Solution 1:

If you are running your code for API level <11, use FragmentActivity instead of extending Activity and in XML, use "com.google.android.gms.maps.SupportMapFragment"

Solution 2:

Your problem is below 3.0 versions not support Fragments, but you are using.

Answer :

1)set your minimumSDk="11" and run into3.0or above versions of device.
       or2)Use SupportMapFragment instead of MapFragment andAdd Support Library
into your project.

(Right click on your project -> Android Tools -> click Add Support Library)

Post a Comment for "Binary Xml File Line #15: Error Inflating Class Fragment"