title: Mapbox Application crashes while launching
body: <p>I am trying to create a simple mapbox application which shows a mapview. There is no specific error shown while debugging but the application crashes while launching itself.Here is the .java file which I created.</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  private MapView mapView;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      Mapbox.getInstance(this,String.valueOf(R.string.access_token));
  
      setContentView(R.layout.activity_main);
      mapView=(MapView)findViewById(R.id.mapView);
      mapView.onCreate(savedInstanceState);
  
      mapView.getMapAsync(new OnMapReadyCallback() {
          @Override
          public void onMapReady(MapboxMap mapboxMap) {
  
          }
      });
  }
  
  @Override
  protected void onStart() {
      super.onStart();
      mapView.onStart();
  }
  
  @Override
  protected void onResume() {
      super.onResume();
      mapView.onResume();
  }
  
  @Override
  protected void onPause() {
      super.onPause();
      mapView.onPause();
  }
  }
  </code></pre>
  
  <p>Here is my .xml file </p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:mapbox="http://schemas.android.com/apk/res-auto"
  android:id="@+id/activity_main"
  android:layout_height="match_parent"
  android:layout_width="match_parent"
  android:orientation="vertical"
  tools:context="com.example.logusubramaniyan.choropleth1.MainActivity"&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Hello World!" /&gt;
  &lt;com.mapbox.mapboxsdk.maps.MapView
      android:id="@+id/mapView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      mapbox:mapbox_cameraTilt="20"
      mapbox:mapbox_cameraZoom="12"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I don't understand why the activity fails to launch when run on either emulator or any device.Any ideas?</p>
  
  <p>Here is my StackTrace result. </p>
  
  <p>FATAL EXCEPTION: main
                                                                                            Process: com.example.logusubramaniyan.choropleth1, PID: 17191
                                                                                            java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.logusubramaniyan.choropleth1/com.example.logusubramaniyan.choropleth1.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class com.mapbox.mapboxsdk.maps.MapView
                                                                                                at android.app.ActivityThread.performLaunchActivity</p>