maplibre / flutter-maplibre-gl

Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
https://pub.dev/packages/maplibre_gl
Other
226 stars 125 forks source link

Abort message: 'terminating with uncaught exception of type jni::PendingJavaException' #225

Closed jonasteich closed 1 year ago

jonasteich commented 1 year ago

I get this error: "Abort message: 'terminating with uncaught exception of type jni::PendingJavaException'" and my app crashes when I open a Map on an android device with myLocationEnabled: true. But this is just the case in my own app. When I use the example app, everything just works fine.

Shiba-Kar commented 1 year ago

I am also facing this error

JulianBissekkou commented 1 year ago

Are you able to provide a minimal reproducable example?

jonasteich commented 1 year ago

I found out, that this is only happening in debug mode. When running with --release everything works fine.

JulianBissekkou commented 1 year ago

@JonasTeich Perfect, I will close this issue now since its not a problem and might only occure during development. (hot restart/reload) If you feel like this should be fixed then feel free to reopen the issue :)

allou-deyforyou commented 1 year ago

I have the same issue.