Execution failed for task ':rnmapbox_maps:compileDebugKotlin'.
ecution failed for task ':rnmapbox_maps:compileDebugKotlin'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details
android/buid.gradle buildscript { ext { buildToolsVersion = "35.0.0" minSdkVersion = 24 compileSdkVersion = 35 targetSdkVersion = 34 ndkVersion = "26.1.10909125" kotlinVersion = "1.9.24" RNMapboxMapsImpl = "mapbox" // RNMapboxMapsVersion = '10.1.33' } repositories { google() mavenCentral() maven { url 'https://www.jitpack.io' } } dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
react native version v0.77
Yes it's fixed use patch https://github.com/rnmapbox/maps/issues/3753
On Tue, 4 Feb, 2025, 12:55 pm Purushottam Samlety, @.***> wrote:
is this fixed? any updates?
— Reply to this email directly, view it on GitHub https://github.com/rnmapbox/maps/issues/3765#issuecomment-2633079083, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3Q7UMZBRBZTGQUXJW5JYF32OBTOHAVCNFSM6AAAAABWLOI4O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZTGA3TSMBYGM . You are receiving this because you authored the thread.Message ID: @.***>
If i downgrade the kotlin version from 1.9.24 to 1.8.22 ?, will it work without apply the patch , Or do I need to apply the patch ?
You have to apply the patch it's necessary
On Tue, 4 Feb, 2025, 1:45 pm Purushottam Samlety, @.***> wrote:
If i downgrade the kotlin version from 1.9.24 to 1.8.22 ?, will it work without apply the patch , Or do I need to apply the patch ?
— Reply to this email directly, view it on GitHub https://github.com/rnmapbox/maps/issues/3765#issuecomment-2633177902, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3Q7UM6RIBKRCMURKGAFI532OBZKJAVCNFSM6AAAAABWLOI4O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZTGE3TOOJQGI . You are receiving this because you authored the thread.Message ID: @.***>
Ok, Thanks for help
Not working for me getting errors like this file:///xxx/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXCalloutManager.kt:15:49 Argument type mismatch: actual type is 'com.rnmapbox.rnmbx.components.annotation.RNMBXCalloutManager', but 'U!' was expected.
Worked for me after installing @react-native/gradle-plugin 0.77 and upgrading distributionUrl to gradle-8.9-all.zip in gradle-wrapper.properties. My project is targeting to React Native version 0.75.3
If you have react-native 0.77 and use the old architecture, you need minimum 10.1.42
Should be addressed in current versions.