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
186 stars 106 forks source link

Unresolved unresolved theme attributes exception on Android #339

Open lukbukkit opened 7 months ago

lukbukkit commented 7 months ago

Hi, when using the latest commit of flutter-maplibre-gl on Android, I get the same errors as described in https://github.com/maplibre/maplibre-native/issues/1274. I've confirmed this problem in Android 13 and 14 emulators. This issue was already fixed. However, the fix was not yet released as a new version of maplibre-native. Can we do anything except wait for the release containing the fix?

m0nac0 commented 7 months ago

You could try opening an issue in the native repository and asking when they are planning to do a new release, maybe they are willing to do one soon with that fix.

Or you could try to replace the maplibre native dependency in https://github.com/maplibre/flutter-maplibre-gl/blob/6c88d54d4f6ad27ed87ed3b66af8f39afb6fe051/android/build.gradle#L43 with a git dependency of a more recent commit (I have never done this, but it seems that there are ways to include a git dependency in gradle)