Closed amias-samir closed 1 month ago
I have the same error, do you have a workaround?
What android SDK are you on? I am not seeing the same error on iOS but am having similar errors on Android.
Facing the exact same issue with Flutter 3.10.6 and mapbox_gl 0.16.0 if myLocationEnabled
is true
@aardrop We're on android SDK 33
If anyone has an older Android SDK, could you verify this problem persists on your version?
My coworker is on 31 and is going to try next week when he's back from vacation. My hypothesis is that we need to update the Mapbox package it's mapping to, as the older version of Mapbox isn't compatible with 33, but I can't verify this yet.
workaround is set myLocationEnabled
to true
in onMapCreated
using a state.
Make sure controller is initiated before onMapCreated
is true
workaround is set myLocationEnabled to true in onMapCreated using a state. Make sure controller is initiated before onMapCreated is true
Did not fix the crash for me
Tested with an older SDK, 31, and I'm not getting any errors on android anymore.
Has there been any traction on this issue? I'm still observing crashes.
Is this lib still supported?
Hi everyone I also get an issues too (on my android, iphone is worked ok) Thanks
still has error, how to fix it?
I have the same error. I tried updating all but the crash continues. I need help, meanwhile, I'll try with IOS where looks like that is working well.
It works well on IOS but crashes on Android. Same issue. Anyone who got solution for this?
Did anyone find solution to this? I am facing same problems.
It works well on IOS but crashes on Android. Same issue. Anyone who got solution for this?
Same issue here, I'd be glad to find a solution
The only workaround that we've had success with is downgrading Android Studio to 31, 33 doesn't work for us. I'm pretty weak on Android as I build mostly for iOS and Web but if someone can solve this that would be great as now mapbox is leagues past this in their versions.
Some things to check are your style versions, your annotation layers, and the example version. Are people having this issue with any of the examples in this repo?
the 0.16.0 version is has known issues - however we the contributors cannot create a new release. Can someone test if this issues also happens with master?
the 0.16.0 version is has known issues - however we the contributors cannot create a new release. Can someone test if this issues also happens with master?
This problem is an error received on Android SDK 33 with Flutter 3 and is very important.
the 0.16.0 version is has known issues - however we the contributors cannot create a new release. Can someone test if this issues also happens with master?
Hi, yes, I checked this problem on the master and it is there too
I was having the same crash happen when I tried it on flutter 3.7.12 and 3.10.0, it only stopped happening when I upgraded flutter to 3.16.9
Any Fix or work around for this? I am also facing same issue
Facing the same issue in Flutter version 3.19.3 and mapbox_gl 0.16.0, has anyone found a fix or work around for this?
Temporary Solution:
Remove myLocationEnabled and add polygonSource and update every 1 seconds with your new location which you fetch with another libraries.
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.
Current Flutter Version 3.7.11 Dart Version 2.19.6 DevTools 2.20.1