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
{{ message }}
This repository was archived by the owner on Jul 17, 2025. It is now read-only.
Execution failed for task ':assets_audio_player_web:compileReleaseKotlin'.
'compileReleaseJavaWithJavac' task (current target is 1.8) and 'compileReleaseKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
Small code to reproduce
"I created a new Flutter project and added the assets_audio_player dependency in the pubspec.yaml file. When I attempted to build the release version, the build failed with the error: 'Gradle task bundleRelease failed with exit code 1.'"
Flutter Version
My version : 3.27.2
Lib Version
My version :
Platform (Android / iOS / web) + version
Platform : Android
Describe the bug
Execution failed for task ':assets_audio_player_web:compileReleaseKotlin'.
Small code to reproduce
"I created a new Flutter project and added the assets_audio_player dependency in the pubspec.yaml file. When I attempted to build the release version, the build failed with the error: 'Gradle task bundleRelease failed with exit code 1.'"