<Android> Why doesn't draw anything in MapFragment?
<p>Help me Please~~</p>

<p>I want to display a map!! but it doesn't work.</p>

<p>It draws anything to screen. </p>

<p>Test device : Galaxy s2 with jellybean(4.0.4).</p>

<p><br/></p>

<p>Source Code:</p>

<pre><code>package com.example.test_googlemap;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}
</code></pre>

<p><br/><br/>
activity_main.xml : </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/map"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  class="com.google.android.gms.maps.MapFragment"/&gt;
</code></pre>
