Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Execution failed for task ':rnmapbox_maps:compileDebugKotlin'. #3765

Open
SmitChavan24 opened this issue Feb 3, 2025 · 5 comments
Open

Execution failed for task ':rnmapbox_maps:compileDebugKotlin'. #3765

SmitChavan24 opened this issue Feb 3, 2025 · 5 comments

Comments

@SmitChavan24
Copy link

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

@SmitChavan24
Copy link
Author

SmitChavan24 commented Feb 4, 2025 via email

@Purushottam18
Copy link

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 ?

@SmitChavan24
Copy link
Author

SmitChavan24 commented Feb 4, 2025 via email

@Purushottam18
Copy link

Ok, Thanks for help

@anandtatva
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants