You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution failed for task ':gradle-plugin:settings-plugin:compileKotlin'. A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner RN
#309
Open
lexop13 opened this issue
Dec 22, 2024
· 0 comments
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.2") // Make sure the AGP version is correct
classpath("com.facebook.react:react-native-gradle-plugin: 0.73.4")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0")
defaultConfig {
applicationId "com.re"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
}
dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation(project(":react-native-maps")) {
exclude group: 'com.facebook.react', module: 'react-native'
}
lexop13
changed the title
The supplied phased action failed with an exception. Execution failed for task ':gradle-plugin:settings-plugin:compileKotlin'. A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details
Execution failed for task ':gradle-plugin:settings-plugin:compileKotlin'. A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner RN
Dec 22, 2024
buildscript {
ext {
buildToolsVersion = "35"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.8.0" // Ensure Kotlin version is correct
}
// Correct Kotlin plugin version
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: "com.android.application"
apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"
react {
}
def enableProguardInReleaseBuilds = false
def jscFlavor = 'org.webkit:android-jsc:+'
android {
ndkVersion rootProject.ext.ndkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdkVersion rootProject.ext.compileSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
namespace "com.re"
}
dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation(project(":react-native-maps")) {
exclude group: 'com.facebook.react', module: 'react-native'
}
}
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-8.3-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
The text was updated successfully, but these errors were encountered: