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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by cammace
, 1 year ago
: 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.
via GitHub by bleege
, 1 year ago
: 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.
via GitHub by cammace
, 1 year ago
valid access token. Use setAccessToken on Mapview to provide one. Please see https://www.mapbox.com/help/create-api-access-token/ to learn how to create one. More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.
via Stack Overflow by Subham Kaps
, 10 months ago
Unable to start activity ComponentInfo{com.skapsdevelopment.firebase/com.skapsdevelopment.firebase.MainActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.skapsdevelopment.firebase. Make sure to call FirebaseApp.initializeApp(Context) first.
via Stack Overflow by Ralf Wickum
, 1 month ago
Unable to start activity ComponentInfo{com.example.demo/com.example.MainActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.example.demo. Make sure to call FirebaseApp.initializeApp(Context) first.
via GitHub by bleege
, 1 year ago
Unable to start activity ComponentInfo{com.mapbox.mapboxandroiddemo/com.mapbox.mapboxandroiddemo.MainActivity}: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
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.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)

Users with the same issue

2 times, 1 year ago
26 times, 1 year ago
7 times, 1 year ago
6 times, 1 year ago
38 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.