We want to create amazing apps without being stopped by crashes. Join us to help others who have the same bug.

I want to fix my crash

I want to help others

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.basics.SimpleMapViewActivity}: com.mapbox.mapboxsdk.exceptions.MapboxAccountManagerNotStartedException:
MapboxAccountManager was not started correctly. Use MapboxAccountManager#start(Context, String) to initialise.
More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.basics.SimpleMapViewActivity}: com.mapbox.mapboxsdk.exceptions.MapboxAccountManagerNotStartedException:
MapboxAccountManager was not started correctly. Use MapboxAccountManager#start(Context, String) to initialise.
More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.basics.SimpleMapViewActivity}: com.mapbox.mapboxsdk.exceptions.MapboxAccountManagerNotStartedException:
MapboxAccountManager was not started correctly. Use MapboxAccountManager#start(Context, String) to initialise.
More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.

Root Cause Analysis

java.lang.RuntimeException

Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.examples.basics.SimpleMapViewActivity}: com.mapbox.mapboxsdk.exceptions.MapboxAccountManagerNotStartedException:
MapboxAccountManager was not started correctly. Use MapboxAccountManager#start(Context, String) to initialise.
More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.