 <p>Once I had the same problem. You added GoogleMap fragment in XML. However, <a href="http://developer.android.com/about/versions/android-4.2.html#NestedFragments" rel="nofollow">documentation</a> says:</p> <blockquote> <p><strong>Note:</strong> You cannot inflate a layout into a fragment when that layout includes a <code>&lt;fragment&gt;</code>. Nested fragments are only supported when added to a fragment dynamically.</p> </blockquote> <p>In your case, you want to inflate a layout with GoogleMaps <code>&lt;fragment&gt;</code> into ViewPager fragment, you can't do that.</p> <p>You should add GoogleMap fragment to the ViewPager from the Java code, for example with ViewGroup's (or its subclass)<a href="http://developer.android.com/reference/android/view/ViewGroup.html#addView%28android.view.View%29" rel="nofollow"><code>addView(View v)</code></a> method.</p>