MapBox showing a map with a pin
<p>I'm using MapBox and showing a pin where the user's geocode is set. The program works fine on all apis...except 19 where it's a black screen. I'm not sure what to make of it as I followed the documentation here:</p>

<p><a href="https://www.mapbox.com/android-sdk/examples/marker/" rel="nofollow">https://www.mapbox.com/android-sdk/examples/marker/</a></p>

<p><a href="https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/annotations/CustomInfoWindowActivity.java" rel="nofollow">https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/annotations/CustomInfoWindowActivity.java</a></p>

<p>I have some of my code below:</p>

<p>Gradle:</p>

<pre><code>compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0-beta.1@aar'){
    transitive=true
}
compile('com.mapbox.mapboxsdk:mapbox-android-services:1.2.1@aar') {
    transitive = true
}
</code></pre>

<p>Getting the mapView</p>

<pre><code>    mapView = (MapView) findViewById(R.id.mapView);
    mapView.setStyle(Style.MAPBOX_STREETS);
    mapView.onCreate(savedInstanceState);
    mapView.getMapAsync(this);
</code></pre>

<p>Call back when map is ready:</p>

<pre><code>public void onMapReady(MapboxMap mapboxMap) {
    // Relevant sources shown only
    mapboxMap.setStyleUrl(Style.MAPBOX_STREETS);
    mapboxMap.setOnInfoWindowClickListener(this);
    CameraPosition cameraPosition = new CameraPosition.Builder()
            .target(geocodeLatLng)
            .zoom(15)
            .bearing(0)
            .build();
    mapboxMap.moveCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));
    Marker position = mapboxMap.addMarker(new MarkerOptions().position(geocodeLatLng).title(location));
    position.setSnippet(address);
    position.showInfoWindow(mapboxMap, mapView);
}
</code></pre>

<p>Layout file:</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="match_parent"
                android:layout_height="match_parent"
                xmlns:mapbox="http://schemas.android.com/apk/res-auto"
                android:orientation="vertical"&gt;

    &lt;com.mapbox.mapboxsdk.maps.MapView
        android:id="@+id/mapView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        mapbox:style_url="mapbox://styles/mapbox/streets-v9"
        mapbox:zoom="11"/&gt;


&lt;/RelativeLayout&gt;
</code></pre>

<p>Is there anything else I'm missing? I have the AndroidManifest.xml and gradle changes as well. It clearly works in newer API's just not the older ones. The website says they support from API 15+?</p>