maps: Android build fails on RN0.73 - :rnmapbox_maps:compileDebugKotlin
Environment
- Dev OS: Mac/Android
- @rnmapbox/maps version: 10.0.15
- React Native version: 0.73
Steps to reproduce
Create a new RN 0.73 project via:
npx react-native@latest init AwesomeProject
Install @rnmapbox/maps
Build on Android.
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
RNMapboxMapsImpl = "mapbox"
}
...
}
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (1 by maintainers)
I got it working downgrading to rnmapbox/maps: 10.1.29, keeping my same versions
Nope. I am not setting RNMapboxMapsVersion. I do set RNMapboxMapsImpl = ‘mapbox’.
I’m wondering if it is because of the Kotlin version change in the latest RN? (It is now set to 1.8)
However, I can confirm that by using @rnmapbox/maps@10.1.0-rc.4 it works OK.