In my app i showing google map version2 in a fragment. but i get Null pointer exception at
mMap = ((SupportMapFragment) getFragmentManager().findFragmentById(R.id
Try to add tools:context=".YourActivity" to the fragment xml:
tools:context=".YourActivity"