Canardoux / flutter_sound

Flutter plugin for sound. Audio recorder and player.
Mozilla Public License 2.0
870 stars 568 forks source link

[BUG]: Build APK fail kotlin version #1096

Open joaotolovi opened 1 week ago

joaotolovi commented 1 week ago

Flutter Sound Version : 9.12.0

Severity


Platforms you faced the error

Describe the bug image

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:

  1. 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 = '' │ └────────────────────────────────────────────────────────────────────────────────────────────────────────┘

joaotolovi commented 1 week ago

Kotlin is already in the latest version