Skip to content

Daemon compilation failed: null java.lang.Exception at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:69) #170534

Closed as not planned
@KevinSinSH

Description

@KevinSinSH

Steps to reproduce

I can build my app before (I think use 3.17.X)
I have recently flutter upgraded to (Channel stable, 3.32.3)
but after that, when i build the app, it ask me to change the kotlin version because it is getting too old. So, I change my settings.gradle.kts to the following

plugins {
    id("dev.flutter.flutter-plugin-loader") version "1.0.0"
    id("com.android.application") version "8.7.3" apply false
    id("org.jetbrains.kotlin.android") version "2.1.21" apply false
}

however, I encounter a lot of "e: Daemon compilation failed: null
java.lang.Exception at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:69)"
I have attach the error log, and would be much appreciated for any help.

Actual results

Should be able to compile the app

Logs

errorLog.txt

Flutter Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.32.3, on Microsoft Windows [Version 10.0.19045.5965], locale en-US)
[√] Windows Version (10 Pro 64-bit, 22H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.4)
[√] Android Studio (version 2024.1)
[√] IntelliJ IDEA Community Edition (version 2025.1)
[√] VS Code (version 1.99.2)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions