You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Got "Unfortunately, App has stopped" dialog without App crashes with Mapbox version 5.0.2 #8848
I'm working with Mapbox version 5.0.2 but I got a weird dialog with the message "Unfortunately, App has stopped" without the application crashes.
And I don't have no specific message in Android Monitor that explain this one.
I already add mapboxMap.setMyLocationEnabled(true) in onMapReady to show user location drawable on the map.
@Override
public void onMapReady(MapboxMap mapboxMap) {
/** set Max Zoom Preference**/
/** set Min Zoom Preference**/
mapboxMap.setMyLocationEnabled(true);
}
@13kz did you request any runtime location permissions? How do you mean no specififc messages in your android monitor? If the app crashed there should always be stacktrace. Sometimes it's hidden under your logcat filters. Without having any stacktrace this issue isn't actionable for us. The test activity we the same code works as expected on master.
@tobrun, u're right. The stack trace is visible when I change Debuggable process in Android Monitor. This issue is already created here (lost issue).
I'll use Release Android v5.1.0-beta1 version to check.
@13kz, beta1 will not resolve your issue yet. The PR in #8872 will fix this. Feel free to retest when that lands with a SNAPSHOT or when beta.2 is released (eta somewhere this week). Closing this as a duplicate of #8639
Activity
tobrun commentedon May 2, 2017
@13kz did you request any runtime location permissions? How do you mean no specififc messages in your android monitor? If the app crashed there should always be stacktrace. Sometimes it's hidden under your logcat filters. Without having any stacktrace this issue isn't actionable for us. The test activity we the same code works as expected on master.
galacticappster04 commentedon May 5, 2017
@13kz, I can confirm your app will crash if you don't have the permission set properly. You can look at the demo sample for further reference.
13kz commentedon May 5, 2017
@tobrun, u're right. The stack trace is visible when I change Debuggable process in Android Monitor. This issue is already created here (lost issue).
I'll use Release Android v5.1.0-beta1 version to check.
tobrun commentedon May 9, 2017
@13kz, beta1 will not resolve your issue yet. The PR in #8872 will fix this. Feel free to retest when that lands with a SNAPSHOT or when beta.2 is released (eta somewhere this week). Closing this as a duplicate of #8639