update_available icon indicating copy to clipboard operation
update_available copied to clipboard

jvm target incompatibility

Open SpirikleOfficial opened this issue 6 months ago • 25 comments

Getting this error:

Execution failed for task ':update_available_android:compileDebugKotlin'.

'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.

if we have in android/settings.gradle the following config then it works:

    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.3.0" apply false
    id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}

but if the above are changed to:

    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "8.0.2" apply false
    id "org.jetbrains.kotlin.android" version "1.9.0" apply false
}

then the error is recieved.

update_available version: 3.1.0+1

SpirikleOfficial avatar Aug 25 '24 13:08 SpirikleOfficial