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
Runtime exception thrown when adding user location blip on map, crashes the VM I'm using.
java.lang.RuntimeException
at android.content.res.Resources.getDrawable(Resources.java:908)
at com.mapbox.mapboxsdk.utils.BitmapUtils.getDrawableFromRes(BitmapUtils.java:183)
at com.mapbox.mapboxsdk.utils.BitmapUtils.getDrawableFromRes(BitmapUtils.java:169)
at com.mapbox.mapboxsdk.location.LayerBitmapProvider.generateShadowBitmap(LayerBitmapProvider.java:30)
at com.mapbox.mapboxsdk.location.LocationLayerController.styleBitmaps(LocationLayerController.java:162)
at com.mapbox.mapboxsdk.location.LocationLayerController.applyStyle(LocationLayerController.java:98)
at com.mapbox.mapboxsdk.location.LocationLayerController.initializeComponents(LocationLayerController.java:79)
at com.mapbox.mapboxsdk.location.LocationLayerController.<init>(LocationLayerController.java:72)
at com.mapbox.mapboxsdk.location.LocationComponent.initialize(LocationComponent.java:1092)
at com.mapbox.mapboxsdk.location.LocationComponent.activateLocationComponent(LocationComponent.java:250)
I’ve tried updating the dependency, but the fix is included in a prerelease that has changed some things in the library since the 10.2.0 release you’re using.
Most importantly, the package has been renamed from com.mapbox.mapboxsdk to org.maplibre.android, as detailed here.
Runtime exception thrown when adding user location blip on map, crashes the VM I'm using.
The code that triggers it:
Seems to be similar to this issue on the main maplibre-native repo.
Using
implementation("org.ramani-maps:ramani-maplibre:0.3.0")
VM: Pixel 7 API 33
The text was updated successfully, but these errors were encountered: