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
Android Studio Ladybug (2024.2.1) seems to be shipped with Java 21.
Since I updated Android Studio to Ladybug I get the following error when compiling my Android version:
Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (21).
When I remove kiosk_mode from pubspec.yaml my build (with a lot of other pub.dev-packages) compiles without any problems.
So the problem only occurs within kiosk_mode.
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.7.0" apply false
id "org.jetbrains.kotlin.android" version "1.9.24" apply false
}
The text was updated successfully, but these errors were encountered:
Android Studio Ladybug (2024.2.1) seems to be shipped with Java 21.
Since I updated Android Studio to Ladybug I get the following error when compiling my Android version:
When I remove kiosk_mode from pubspec.yaml my build (with a lot of other pub.dev-packages) compiles without any problems.
So the problem only occurs within kiosk_mode.
android\app\build.grade:
android\gradle\gradle-wrapper.properties:
android\settings.gradle:
The text was updated successfully, but these errors were encountered: