最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Flutter Build Fails: flutter_web_auth:compileDebugKotlin Compilation Error - Stack Overflow

programmeradmin4浏览0评论

FAILURE: Build completed with 2 failures.

1: Task failed with an exception. What went wrong: Execution failed for task ':flutter_web_auth:compileDebugKotlin'.

A failure occurred while executing .jetbrains.kotlinpilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details

android {
    compileSdkVersion 34

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 34
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = "1.8"
    }
}
buildscript {
    ext.kotlin_version = "1.9.0"
    dependencies {
        classpath ".jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

FAILURE: Build completed with 2 failures.

1: Task failed with an exception. What went wrong: Execution failed for task ':flutter_web_auth:compileDebugKotlin'.

A failure occurred while executing .jetbrains.kotlinpilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details

android {
    compileSdkVersion 34

    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 34
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = "1.8"
    }
}
buildscript {
    ext.kotlin_version = "1.9.0"
    dependencies {
        classpath ".jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

Share asked Mar 11 at 5:10 Ramakrushna SahooRamakrushna Sahoo 1
Add a comment  | 

1 Answer 1

Reset to default 0

You can try again But now upgrade the ext.kotlin_version in this code and give me feedback if it is Run.

发布评论

评论列表(0)

  1. 暂无评论