This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Description
Description
Adding the LTS version of the ffmpeg_kit_flutter package seems to result in broken behavior in terms of minimum SDK requirements on Android.
Expected behavior
App builds fine for the minimum SDK version required by the LTS version of the package.
Current behavior
Android build fails due to the SDK version not being 24, despite the readme specifying 16.
To Reproduce
Here's a reproduction repo: https://github.com/jozsefsallai/flutter-ffmpeg-kit-lts-repro
Environment
- Platform: Flutter/Android
- Architecture: arm64
- Version: 4.5.0-LTS
Other
I've also tried:
flutter pub cache clean && flutter pub get
rm -rf build && rm -rf android/.gradle
After checking the cached package, I noticed that:
- the package's pubspec specifies 4.5.0-LTS, so the correct package was installed

- despite that, the
build.gradle from the package still has a hard requirement for SDK ver 24

I think it's also worth noting that adding ffmpeg_kit_flutter: ^4.5.0-LTS to pubspec.yaml actually installed 4.5.0 (non-LTS) regardless, so I had to manually edit pubspec.lock to get the right version to install.