-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash on Android 5.1.1 #2978
Comments
I can see this in the log: Do you set a valid Mapbox access token? Also can you capture the stack trace of the crash? |
@peterneubauer try {
mapView.onCreate(savedInstanceState);
} catch (InvalidAccessTokenException iae) {
//just catch it
} Could you elaborate on that? I believe @ljbade is correct in his analysis that there is a problem with setting the access token. |
I have seen this error also multiple times, @ljbade is this a log we can "swallow" as well? |
@tobrun This warning is a general Android issue. |
So,
|
Looks like @mb12 found the issue ^ we must have a View that is too complicated (or possibly a bug in the support design library). We will need to keep an eye out for UI elements that are not drawn when the warning appears. |
@peterneubauer Thanks, I will test the app out and see if I can figure this out. |
That is awesome! If needed, I can let you in on the source code or hop on a pair-coding call with you (it's not much integration code - great API of yours!) |
This issue is stale as well as will be out of date when |
Hi there,
when opening the MapView, I get random crashes on a Sony Xperia Z5 Compact, trying to do something like this. Crashes occur seemingly randomly upon initializing the map with
Partly, I get things like the stack trace below, partly I sometimes get
and the the app crashes. Any hints what might be wrong?
The text was updated successfully, but these errors were encountered: