title: Android Studio Google Map V2 fragment rendering
body: <p>I tried to write a test demo for Google Map V2 in Android Studio. I followed every step from <a href="http://www.androidhive.info/2013/08/android-working-with-google-maps-v2/" rel="noreferrer">Androidhive Google Map V2</a> or better I think I need.</p>
  
  <p>I'm using the same layout_main.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  
      &lt;fragment
          android:id="@+id/map"
          android:name="com.google.android.gms.maps.MapFragment"
          android:layout_width="match_parent"
          android:layout_height="match_parent"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>but I'm getting always the same rendering problem:</p>
  
  <blockquote>
    <p>Rendering Problems<br>
    A <code>&lt;fragment&gt;</code> tag allows a layout file to dynamically include different layouts at runtime. At layout editing time the specific layout to be used is not known. You can choose which layout you would like previewed while editing the layout...</p>
  </blockquote>
  
  <p>I have absolutely no idea what's the problem. Did I forget something?
  I just need to add Google services in the build.gradle like</p>
  
  <pre><code>compile 'com.google.android.gms:play-services:4.4.52'
  </code></pre>
  
  <p>I copied the manifest from the demo and changed the API Key.</p>