Closed MagdaHennebo closed 2 years ago
Did you happen to customize the used libraries?! Do you have RNMapboxMapsLibs
set in one of your gradle files?! If so make sure they are later than what we build with (1.8.0).
See: https://github.com/rnmapbox/maps/blob/main/android/install.md#custom-versions
Environment
Steps to reproduce
I have a react native project with the mapbox lib for react native : "@rnmapbox/maps": "rnmapbox/maps#main".
When I run : npx react-native run-android
I get this error : Execution failed for task ':rnmapbox_maps:compileDebugJavaWithJavac'.
More details :
I am fairly new to Mapbox, and I need help figuring out where the issue comes from. I have scrupulously followed the different environment set-up tutorials (for react native and mapbox) and I wonder how I can solve this unfortunate issue.
Thanks in advance for the help.