title: Why isn't the map fragment shown?
body: <p>So I'm trying to do a simple Application with a Google Maps Fragment in it. I started from a preset out of Android-Studio. Since newly, the toolbar is shown but not the map fragment. Following, you will see my code and the Stack Trace:</p>
  
  <p><strong>activity_maps.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="1080dp"
      android:layout_height="1920dp"
      tools:context=".MapsActivity"&gt;
      &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:map="http://schemas.android.com/apk/res-auto"
          xmlns:tools="http://schemas.android.com/tools"
          android:id="@+id/map"
          android:name="com.google.android.gms.maps.SupportMapFragment"
          android:layout_width="match_parent"
          android:layout_height="1720dp"
          tools:context="com.example.testingmapingmarker23.MapsActivity"
          /&gt;
  
  
  
      &lt;android.support.v7.widget.Toolbar
          xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="?attr/actionBarSize"
          android:background="?attr/colorPrimary"
          app:layout_scrollFlags="scroll|enterAlways"
  
          app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>MapsActivity.java</strong></p>
  
  <pre><code>package com.example.testingmapingmarker23;
  
  import android.support.v4.app.FragmentActivity;
  import android.os.Bundle;
  import android.support.v7.app.ActionBarActivity;
  import android.support.v7.app.AppCompatActivity;
  import android.support.v7.widget.Toolbar;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.ListView;
  
  import com.google.android.gms.maps.CameraUpdateFactory;
  import com.google.android.gms.maps.GoogleMap;
  import com.google.android.gms.maps.OnMapReadyCallback;
  import com.google.android.gms.maps.SupportMapFragment;
  import com.google.android.gms.maps.model.LatLng;
  import com.google.android.gms.maps.model.MarkerOptions;
  
  
  
  import android.support.design.widget.FloatingActionButton;
  import android.support.design.widget.Snackbar;
  
  
  
  import static com.example.testingmapingmarker23.R.id.map;
  
  public class MapsActivity extends AppCompatActivity implements OnMapReadyCallback {
  
      private GoogleMap mMap;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_maps);
          // Obtain the SupportMapFragment and get notified when the map is ready to be used.
          SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
                  .findFragmentById(map);
          mapFragment.getMapAsync(this);
  
          final Toolbar customToolbar = (Toolbar) findViewById(R.id.toolbar);
  
  
  
      }
  
  
      /**
       * Manipulates the map once available.
       * This callback is triggered when the map is ready to be used.
       * This is where we can add markers or lines, add listeners or move the camera. In this case,
       * we just add a marker near Sydney, Australia.
       * If Google Play services is not installed on the device, the user will be prompted to install
       * it inside the SupportMapFragment. This method will only be triggered once the user has
       * installed Google Play services and returned to the app.
       */
      @Override
      public void onMapReady(GoogleMap googleMap) {
          mMap = googleMap;
  
          // Add a marker in Sydney and move the camera
          LatLng sydney = new LatLng(-34, 151);
          mMap.addMarker(new MarkerOptions().position(sydney).title("Marker in Sydney"));
          mMap.moveCamera(CameraUpdateFactory.newLatLng(sydney));
          mMap.setMapType(GoogleMap.MAP_TYPE_HYBRID);
  
      }
  
  
  
  
  
  }
  </code></pre>
  
  <p><strong>AndroidManifest.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.testingmapingmarker23"&gt;
  
      &lt;!--
           The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
           Google Maps Android API v2, but you must specify either coarse or fine
           location permissions for the 'MyLocation' functionality. 
      --&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
  
  
  
          &lt;meta-data
              android:name="com.google.android.geo.API_KEY"
              android:value=" AIz...." /&gt;
  
          &lt;activity
              android:name=".MapsActivity"
              android:label="@string/title_activity_maps"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>Stack Trace</strong></p>
  
  <pre><code>/com.example.testingmapingmarker23 W/System: ClassLoader referenced unknown path: /data/data/com.google.android.gms/app_chimera/m/00000023/n/armeabi-v7a
  07-05 23:22:08.294 21301-21845/com.example.testingmapingmarker23 W/System: ClassLoader referenced unknown path: /data/data/com.google.android.gms/app_chimera/m/00000023/n/armeabi
  07-05 23:22:08.296 21301-21849/com.example.testingmapingmarker23 W/Adreno-ES20: &lt;core_glEGLImageTargetTexture2DOES:4548&gt;: GL_INVALID_VALUE
  07-05 23:22:08.298 21301-21849/com.example.testingmapingmarker23 W/Adreno-ES20: &lt;core_glEGLImageTargetTexture2DOES:4548&gt;: GL_INVALID_VALUE
  07-05 23:22:08.298 21301-21849/com.example.testingmapingmarker23 E/GLConsumer: [SurfaceTexture-0-21301-0] bindTextureImage: error binding external image: 0x501
  07-05 23:22:08.343 21301-21849/com.example.testingmapingmarker23 W/Adreno-ES20: &lt;core_glEGLImageTargetTexture2DOES:4548&gt;: GL_INVALID_VALUE
  07-05 23:22:08.345 21301-21849/com.example.testingmapingmarker23 W/Adreno-ES20: &lt;core_glEGLImageTargetTexture2DOES:4548&gt;: GL_INVALID_VALUE
  </code></pre>
  
  <p>And this repeats over and over. I'm using a OnePlus One with Android 6.0.1 and shown API 23. The App runs, but it doesn't show the map fragment. </p>