flutter build apk is not working. If i remove flutter_sound then it works
The kotlin version is 2.0.20
To Reproduce
Steps to reproduce the behavior:
run: flutter build apk
Logs!!!!
Note: /home/jhon/.pub-cache/hosted/pub.dev/flutter_sound-9.16.0/android/src/main/java/xyz/canardoux/fluttersound/FlutterSound.java uses or overrides a deprecated API.
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │
│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the │
│ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of │
│ /home/jhon/sintesy-me-app/android/settings.gradle. │
│ │
│ Alternatively (if your project was created before Flutter 3.19), update │
│ /home/jhon/sintesy-me-app/android/build.gradle │
│ ext.kotlin_version = '' │
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Flutter Sound Version : 9.12.0
FULL or LITE flavor ?
FULL
Important: Result of the command :
flutter pub deps | grep flutter_sound
╰─➤ flutter pub deps | grep flutter_sound 1 ↵ ├── flutter_sound 9.16.0 │ ├── flutter_sound_platform_interface 9.16.0 │ ├── flutter_sound_web 9.16.0 │ │ ├── flutter_sound_platform_interface...Severity
Platforms you faced the error
Android
Describe the bug
flutter build apk is not working. If i remove flutter_sound then it works The kotlin version is 2.0.20
To Reproduce Steps to reproduce the behavior:
Logs!!!!
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the │ │ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of │ │ /home/jhon/sintesy-me-app/android/settings.gradle. │ │ │ │ Alternatively (if your project was created before Flutter 3.19), update │ │ /home/jhon/sintesy-me-app/android/build.gradle │ │ ext.kotlin_version = '' │
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘