flutter-mapbox-gl / maps

A Mapbox GL flutter package for creating custom maps
Other
1.04k stars 503 forks source link

drawable: mapbox_user_icon_shadow #1329

Closed Diielle closed 1 year ago

Diielle commented 1 year ago

Why do I see the following exception in the console? Am I doing something wrong? Thank you


W/Resources(15548): java.lang.RuntimeException
W/Resources(15548):     at android.content.res.Resources.getDrawable(Resources.java:966)
W/Resources(15548):     at com.mapbox.mapboxsdk.utils.BitmapUtils.getDrawableFromRes(BitmapUtils.java:167)
W/Resources(15548):     at com.mapbox.mapboxsdk.utils.BitmapUtils.getDrawableFromRes(BitmapUtils.java:153)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LayerBitmapProvider.generateShadowBitmap(LayerBitmapProvider.java:29)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LocationLayerController.styleBitmaps(LocationLayerController.java:166)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LocationLayerController.applyStyle(LocationLayerController.java:102)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LocationLayerController.initializeComponents(LocationLayerController.java:83)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LocationLayerController.<init>(LocationLayerController.java:76)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LocationComponent.initialize(LocationComponent.java:1498)
W/Resources(15548):     at com.mapbox.mapboxsdk.location.LocationComponent.activateLocationComponent(LocationComponent.java:387)
W/Resources(15548):     at com.mapbox.mapboxgl.MapboxMapController.enableLocationComponent(MapboxMapController.java:272)
W/Resources(15548):     at com.mapbox.mapboxgl.MapboxMapController.updateMyLocationEnabled(MapboxMapController.java:1563)
W/Resources(15548):     at com.mapbox.mapboxgl.MapboxMapController.access$100(MapboxMapController.java:91)
W/Resources(15548):     at com.mapbox.mapboxgl.MapboxMapController$1.onStyleLoaded(MapboxMapController.java:141)
W/Resources(15548):     at com.mapbox.mapboxsdk.maps.MapboxMap.notifyStyleLoaded(MapboxMap.java:963)
W/Resources(15548):     at com.mapbox.mapboxsdk.maps.MapboxMap.onFinishLoadingStyle(MapboxMap.java:225)
W/Resources(15548):     at com.mapbox.mapboxsdk.maps.MapView$MapCallback.onDidFinishLoadingStyle(MapView.java:1383)
W/Resources(15548):     at com.mapbox.mapboxsdk.maps.MapChangeReceiver.onDidFinishLoadingStyle(MapChangeReceiver.java:198)
W/Resources(15548):     at com.mapbox.mapboxsdk.maps.NativeMapView.onDidFinishLoadingStyle(NativeMapView.java:1166)
W/Resources(15548):     at android.os.MessageQueue.nativePollOnce(Native Method)
W/Resources(15548):     at android.os.MessageQueue.next(MessageQueue.java:339)
W/Resources(15548):     at android.os.Looper.loopOnce(Looper.java:186)
W/Resources(15548):     at android.os.Looper.loop(Looper.java:351)
W/Resources(15548):     at android.app.ActivityThread.main(ActivityThread.java:8381)
W/Resources(15548):     at java.lang.reflect.Method.invoke(Native Method)
W/Resources(15548):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
W/Resources(15548):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)```
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

aardrop commented 1 year ago

Did you ever solve this? I'm receiving this error as well now

securexperts commented 1 year ago

Hello, I have the same error since a certain time. Anybody a solution on this?. Thanks for comments Roman

Mr94t3z commented 1 year ago

i received the same error too

dhaq commented 10 months ago

same issue, any solution?

machetekillz commented 8 months ago

Me too - anyone have a solution? :-(

anh-ht commented 8 months ago

same issue, any solution?

securexperts commented 6 months ago

I did go for mapbox_maps_flutter. It needs som Codechanges but it's much stale and goes with mapbox SDK versions. I am really happy with it